From: Stefan Esser Date: Mon, 23 Dec 2002 08:51:16 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.0~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=536771004515cd828d7c0de6faba421d5a124076;p=php MFH --- diff --git a/ext/mime_magic/mime_magic.c b/ext/mime_magic/mime_magic.c index a370839a66..d0ed717f88 100644 --- a/ext/mime_magic/mime_magic.c +++ b/ext/mime_magic/mime_magic.c @@ -358,7 +358,7 @@ static int apprentice(void) fname = conf->magicfile; /* todo cwd? */ f = fopen(fname, "rb"); if (f == NULL) { - (int) conf->magic = -1; + *(int *)&conf->magic = -1; return -1; }