summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Esser <sesser@php.net>2002-12-23 08:50:05 +0000
committerStefan Esser <sesser@php.net>2002-12-23 08:50:05 +0000
commit0bb1ff71d650bbd8d8bdb12432988fd01a38edef (patch)
tree7c41f051dc1a03b48f57bd622f1a013d94c6bf6a
parentf13ecb9832776afb7205929dd51c19f4a2535ed9 (diff)
downloadphp-git-0bb1ff71d650bbd8d8bdb12432988fd01a38edef.tar.gz
fix compile error on IRIX
-rw-r--r--ext/mime_magic/mime_magic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mime_magic/mime_magic.c b/ext/mime_magic/mime_magic.c
index bdb1dab794..86c650c699 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;
}