diff options
author | Stefan Esser <sesser@php.net> | 2002-12-23 08:51:16 +0000 |
---|---|---|
committer | Stefan Esser <sesser@php.net> | 2002-12-23 08:51:16 +0000 |
commit | 536771004515cd828d7c0de6faba421d5a124076 (patch) | |
tree | 513f6b57606ddc2e3a3c7d0dd15605f54c7b7a7c | |
parent | e5343487ace308381f052f303a37ca29d493abd8 (diff) | |
download | php-git-536771004515cd828d7c0de6faba421d5a124076.tar.gz |
MFH
-rw-r--r-- | ext/mime_magic/mime_magic.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |