summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_cmd.c
diff options
context:
space:
mode:
authorWei Dai <demon@php.net>2015-03-09 21:25:43 +0800
committerWei Dai <demon@php.net>2015-03-09 21:25:43 +0800
commit3f3e34040ae197da86cea580da8886675ace856a (patch)
tree7f30b16bca4b0e585d51cf8d77b10d0a1545baab /sapi/phpdbg/phpdbg_cmd.c
parent7810659cc372b17d48a7f0a799cc1509471916a1 (diff)
downloadphp-git-3f3e34040ae197da86cea580da8886675ace856a.tar.gz
Fixed compile warnings
Diffstat (limited to 'sapi/phpdbg/phpdbg_cmd.c')
-rw-r--r--sapi/phpdbg/phpdbg_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sapi/phpdbg/phpdbg_cmd.c b/sapi/phpdbg/phpdbg_cmd.c
index 3e3f932f97..6e5b2ecaf7 100644
--- a/sapi/phpdbg/phpdbg_cmd.c
+++ b/sapi/phpdbg/phpdbg_cmd.c
@@ -99,7 +99,7 @@ PHPDBG_API char* phpdbg_param_tostring(const phpdbg_param_t *param, char **point
break;
case ADDR_PARAM:
- asprintf(pointer, "%#llx", param->addr);
+ asprintf(pointer, ZEND_ULONG_FMT, param->addr);
break;
case NUMERIC_PARAM:
@@ -329,7 +329,7 @@ PHPDBG_API void phpdbg_param_debug(const phpdbg_param_t *param, const char *msg)
break;
case ADDR_PARAM:
- fprintf(stderr, "%s ADDR_PARAM(%llu)\n", msg, param->addr);
+ fprintf(stderr, "%s ADDR_PARAM(" ZEND_ULONG_FMT ")\n", msg, param->addr);
break;
case NUMERIC_FILE_PARAM: