moriyoshi Fri Jul 25 03:42:01 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/tokenizer tokenizer.c
Log:
- MFH: suppress signedness warnings
http://cvs.php.net/viewvc.cgi/php-src/ext/tokenizer/tokenizer.c?r1=1.31.2.5.2.7.2.7&r2=1.31.2.5.2.7.2.8&diff_format=u
Index: php-src/ext/tokenizer/tokenizer.c
diff -u php-src/ext/tokenizer/tokenizer.c:1.31.2.5.2.7.2.7
php-src/ext/tokenizer/tokenizer.c:1.31.2.5.2.7.2.8
--- php-src/ext/tokenizer/tokenizer.c:1.31.2.5.2.7.2.7 Mon Jun 23 17:28:06 2008
+++ php-src/ext/tokenizer/tokenizer.c Fri Jul 25 03:42:01 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tokenizer.c,v 1.31.2.5.2.7.2.7 2008/06/23 17:28:06 felipe Exp $ */
+/* $Id: tokenizer.c,v 1.31.2.5.2.7.2.8 2008/07/25 03:42:01 moriyoshi Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -140,12 +140,12 @@
add_next_index_stringl(keyword,
Z_STRVAL(token), Z_STRLEN(token), 1);
efree(Z_STRVAL(token));
} else {
- add_next_index_stringl(keyword, zendtext,
zendleng, 1);
+ add_next_index_stringl(keyword, (char
*)zendtext, zendleng, 1);
}
add_next_index_long(keyword, token_line);
add_next_index_zval(return_value, keyword);
} else {
- add_next_index_stringl(return_value, zendtext,
zendleng, 1);
+ add_next_index_stringl(return_value, (char *)zendtext,
zendleng, 1);
}
if (destroy && Z_TYPE(token) != IS_NULL) {
zval_dtor(&token);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php