From: Xinchen Hui Date: Wed, 22 Apr 2015 02:53:26 +0000 (+0800) Subject: fixed warning & test pushing X-Git-Tag: PRE_PHP7_NSAPI_REMOVAL~186 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=af3c72bc805fc0167581fe83ecd24398f509cea0;p=php fixed warning & test pushing --- diff --git a/sapi/phpdbg/phpdbg_opcode.c b/sapi/phpdbg/phpdbg_opcode.c index 654bd6288f..7dadc3f4b9 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));