summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2005-03-06 16:22:02 +0000
committerfoobar <sniper@php.net>2005-03-06 16:22:02 +0000
commit0344652b3892e4b1d1367ab150fb0a3a32f50933 (patch)
tree0840e559ff4a4c46df74ba8c98716292f526d23b
parentede98577e2bd478c694c0785d0aee87190cc5bda (diff)
downloadphp-git-0344652b3892e4b1d1367ab150fb0a3a32f50933.tar.gz
Fixed compile warning (bug #32046)
-rw-r--r--Zend/zend_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index bf002ef947..3309608b51 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -68,7 +68,7 @@ static void build_runtime_defined_function_key(zval *result, char *name, int nam
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 {