cvs: ZendEngine2(PHP_5_0) / zend_compile.c
| From: | Jani Taskinen | Date: | Sun, 06 Mar 2005 16:22:22 +0000 |
| Subject: | cvs: ZendEngine2(PHP_5_0) / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3454@lists.php.net to get a copy of this message | ||
sniper Sun Mar 6 11:22:22 2005 EDT
Modified files: (Branch: PHP_5_0)
/ZendEngine2 zend_compile.c
Log:
Fixed compile warning (bug #32046)
http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?r1=1.567.2.13&r2=1.567.2.14&ty=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.567.2.13 ZendEngine2/zend_compile.c:1.567.2.14
--- ZendEngine2/zend_compile.c:1.567.2.13 Thu Dec 30 10:23:07 2004
+++ ZendEngine2/zend_compile.c Sun Mar 6 11:22:22 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.567.2.13 2004/12/30 15:23:07 sniper Exp $ */
+/* $Id: zend_compile.c,v 1.567.2.14 2005/03/06 16:22:22 sniper Exp $ */
#include <zend_language_parser.h>
#include "zend.h"
@@ -68,7 +68,7 @@
uint char_pos_len;
char *filename;
- char_pos_len = zend_sprintf(char_pos_buf, "%x", (unsigned int)
LANG_SCNG(_yy_last_accepting_cpos));
+ char_pos_len = zend_sprintf(char_pos_buf, "%p", LANG_SCNG(_yy_last_accepting_cpos));
if (CG(active_op_array)->filename) {
filename = CG(active_op_array)->filename;
} else {