]> granicus.if.org Git - php/commitdiff
fixed warning & test pushing
authorXinchen Hui <laruence@php.net>
Wed, 22 Apr 2015 02:53:26 +0000 (10:53 +0800)
committerXinchen Hui <laruence@php.net>
Wed, 22 Apr 2015 02:53:49 +0000 (10:53 +0800)
sapi/phpdbg/phpdbg_opcode.c

index 654bd6288f066a26c7812410d6d364b708926180..7dadc3f4b94cb023f1105c1698122fa2b81912fd 100644 (file)
@@ -67,7 +67,7 @@ static inline char *phpdbg_decode_op(zend_op_array *ops, znode_op *op, uint32_t
                                        decode = zend_strndup(ZEND_STRL("true"));
                                        break;
                                case IS_LONG:
-                                       asprintf(&decode, "%lld", Z_LVAL_P(literal));
+                                       asprintf(&decode, ZEND_ULONG_FMT, Z_LVAL_P(literal));
                                        break;
                                case IS_DOUBLE:
                                        asprintf(&decode, "%.*G", 14, Z_DVAL_P(literal));