Skip to content

Commit 02022c7

Browse files
committed
MFH: fix compile warning
1 parent 3940782 commit 02022c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/fileinfo/fileinfo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ static void _php_finfo_get_type(INTERNAL_FUNCTION_PARAMETERS, int mode, int mime
533533
goto clean;
534534
}
535535

536-
ret_val = magic_stream(magic, stream);
536+
ret_val = (char *)magic_stream(magic, stream);
537537
php_stream_close(stream);
538538
}
539539
break;

0 commit comments

Comments
 (0)