diff options
| author | Antony Dovgal <tony2001@php.net> | 2008-09-16 09:48:07 +0000 |
|---|---|---|
| committer | Antony Dovgal <tony2001@php.net> | 2008-09-16 09:48:07 +0000 |
| commit | 07aac764a5aff0f54f8544c709f676d19bf3cf05 (patch) | |
| tree | 44969e4c962061f6b41beec3c3f8538d1ecbc5ce | |
| parent | 355c6d42261964f91dfef2bef003f11720eab448 (diff) | |
| download | php-git-07aac764a5aff0f54f8544c709f676d19bf3cf05.tar.gz | |
fix compile warning
| -rw-r--r-- | ext/fileinfo/fileinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/fileinfo/fileinfo.c b/ext/fileinfo/fileinfo.c index 83d1265cf8..1db520c41a 100644 --- a/ext/fileinfo/fileinfo.c +++ b/ext/fileinfo/fileinfo.c @@ -540,7 +540,7 @@ static void _php_finfo_get_type(INTERNAL_FUNCTION_PARAMETERS, int mode, int mime goto clean; } - ret_val = magic_stream(magic, stream); + ret_val = (char *)magic_stream(magic, stream); php_stream_close(stream); } break; |
