helly Thu Jan 12 19:13:50 2006 UTC
Modified files:
/php-src/main/streams filter.c
Log:
- Fix warning
http://cvs.php.net/viewcvs.cgi/php-src/main/streams/filter.c?r1=1.20&r2=1.21&diff_format=u
Index: php-src/main/streams/filter.c
diff -u php-src/main/streams/filter.c:1.20 php-src/main/streams/filter.c:1.21
--- php-src/main/streams/filter.c:1.20 Tue Jan 10 16:14:45 2006
+++ php-src/main/streams/filter.c Thu Jan 12 19:13:50 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: filter.c,v 1.20 2006/01/10 16:14:45 iliaa Exp $ */
+/* $Id: filter.c,v 1.21 2006/01/12 19:13:50 helly Exp $ */
#include "php.h"
#include "php_globals.h"
@@ -595,7 +595,7 @@
int datalen;
if (bucket->is_unicode) {
- data = bucket->buf.ustr.val;
+ data = (char*)bucket->buf.ustr.val;
datalen = bucket->buf.ustr.len * sizeof(UChar);
} else {
data = bucket->buf.str.val;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php