1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00

fix compile error on IRIX

This commit is contained in:
Stefan Esser
2002-12-23 08:50:05 +00:00
parent f13ecb9832
commit 0bb1ff71d6

View File

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