]> granicus.if.org Git - php/commitdiff
Fixed compile warning (bug #32046)
authorfoobar <sniper@php.net>
Sun, 6 Mar 2005 16:22:22 +0000 (16:22 +0000)
committerfoobar <sniper@php.net>
Sun, 6 Mar 2005 16:22:22 +0000 (16:22 +0000)
Zend/zend_compile.c

index f1c785b49383d507434ccc812419b4bd55899017..ad62a3016105398416ef5287d4a09089dc60e76f 100644 (file)
@@ -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 {