cvs: php-src /ext/tokenizer tokenizer.c
| From: | Moriyoshi Koizumi | Date: | Fri, 25 Jul 2008 03:41:38 +0000 |
| Subject: | cvs: php-src /ext/tokenizer tokenizer.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-51553@lists.php.net to get a copy of this message | ||
moriyoshi Fri Jul 25 03:41:38 2008 UTC
Modified files:
/php-src/ext/tokenizer tokenizer.c
Log:
- Suppress signedness warnings.
http://cvs.php.net/viewvc.cgi/php-src/ext/tokenizer/tokenizer.c?r1=1.49&r2=1.50&diff_format=u
Index: php-src/ext/tokenizer/tokenizer.c
diff -u php-src/ext/tokenizer/tokenizer.c:1.49 php-src/ext/tokenizer/tokenizer.c:1.50
--- php-src/ext/tokenizer/tokenizer.c:1.49 Mon Jun 23 17:25:01 2008
+++ php-src/ext/tokenizer/tokenizer.c Fri Jul 25 03:41:38 2008
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: tokenizer.c,v 1.49 2008/06/23 17:25:01 felipe Exp $ */
+/* $Id: tokenizer.c,v 1.50 2008/07/25 03:41:38 moriyoshi Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -142,12 +142,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);