cvs: ZendEngine2 / zend_compile.c
| From: | Jani Taskinen | Date: | Sun, 06 Mar 2005 16:22:03 +0000 |
| Subject: | cvs: ZendEngine2 / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3453@lists.php.net to get a copy of this message | ||
sniper Sun Mar 6 11:22:03 2005 EDT
Modified files:
/ZendEngine2 zend_compile.c
Log:
Fixed compile warning (bug #32046)
http://cvs.php.net/diff.php/ZendEngine2/zend_compile.c?r1=1.613&r2=1.614&ty=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.613 ZendEngine2/zend_compile.c:1.614
--- ZendEngine2/zend_compile.c:1.613 Wed Feb 23 06:15:51 2005
+++ ZendEngine2/zend_compile.c Sun Mar 6 11:22:02 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.613 2005/02/23 11:15:51 stas Exp $ */
+/* $Id: zend_compile.c,v 1.614 2005/03/06 16:22:02 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 {