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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user