cvs: php-src /main/streams filter.c
| From: | Marcus Boerger | Date: | Thu, 12 Jan 2006 19:13:50 +0000 |
| Subject: | cvs: php-src /main/streams filter.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-36478@lists.php.net to get a copy of this message | ||
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;