com php-src: fixed warning & test pushing: sapi/phpdbg/phpdbg _opcode.c
| From: | Xinchen Hui | Date: | Wed, 22 Apr 2015 02:53:49 +0000 |
| Subject: | com php-src: fixed warning & test pushing: sapi/phpdbg/phpdbg _opcode.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-86428@lists.php.net to get a copy of this message | ||
Commit: af3c72bc805fc0167581fe83ecd24398f509cea0
Author: Xinchen Hui <laruence@php.net> Wed, 22 Apr 2015 10:53:26 +0800
Parents: c61bf4bc1120a92c7525b1bc1cd0ae3e1837b3c7
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=af3c72bc805fc0167581fe83ecd24398f509cea0
Log:
fixed warning & test pushing
Changed paths:
M sapi/phpdbg/phpdbg_opcode.c
Diff:
diff --git a/sapi/phpdbg/phpdbg_opcode.c b/sapi/phpdbg/phpdbg_opcode.c
index 654bd62..7dadc3f 100644
--- a/sapi/phpdbg/phpdbg_opcode.c
+++ b/sapi/phpdbg/phpdbg_opcode.c
@@ -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));