From 536771004515cd828d7c0de6faba421d5a124076 Mon Sep 17 00:00:00 2001 From: Stefan Esser Date: Mon, 23 Dec 2002 08:51:16 +0000 Subject: MFH --- ext/mime_magic/mime_magic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.1