cvs: php-src /ext/fileinfo fileinfo.c
| From: | Antony Dovgal | Date: | Tue, 16 Sep 2008 09:48:07 +0000 |
| Subject: | cvs: php-src /ext/fileinfo fileinfo.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-53176@lists.php.net to get a copy of this message | ||
tony2001 Tue Sep 16 09:48:07 2008 UTC
Modified files:
/php-src/ext/fileinfo fileinfo.c
Log:
fix compile warning
http://cvs.php.net/viewvc.cgi/php-src/ext/fileinfo/fileinfo.c?r1=1.35&r2=1.36&diff_format=u
Index: php-src/ext/fileinfo/fileinfo.c
diff -u php-src/ext/fileinfo/fileinfo.c:1.35 php-src/ext/fileinfo/fileinfo.c:1.36
--- php-src/ext/fileinfo/fileinfo.c:1.35 Tue Sep 16 09:45:06 2008
+++ php-src/ext/fileinfo/fileinfo.c Tue Sep 16 09:48:07 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: fileinfo.c,v 1.35 2008/09/16 09:45:06 scottmac Exp $ */
+/* $Id: fileinfo.c,v 1.36 2008/09/16 09:48:07 tony2001 Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -540,7 +540,7 @@
goto clean;
}
- ret_val = magic_stream(magic, stream);
+ ret_val = (char *)magic_stream(magic, stream);
php_stream_close(stream);
}
break;