Browse Source

fix compile error on IRIX

PHP-5
Stefan Esser 24 years ago
parent
commit
0bb1ff71d6
  1. 2
      ext/mime_magic/mime_magic.c

2
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;
}

Loading…
Cancel
Save