com php-src: fix printf format: sapi/phpdbg/phpdbg_cmd.c
| From: | Anatol Belski | Date: | Fri, 24 Jul 2015 19:51:30 +0000 |
| Subject: | com php-src: fix printf format: sapi/phpdbg/phpdbg_cmd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-88153@lists.php.net to get a copy of this message | ||
Commit: fa4cd519e6a5350d2b17d2fc1637a890dcfb7acb
Author: Anatol Belski <ab@php.net> Fri, 24 Jul 2015 21:45:36 +0200
Parents: 5334d53499b2d7f2a3281f5fbc6b0963ae61aaad
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fa4cd519e6a5350d2b17d2fc1637a890dcfb7acb
Log:
fix printf format
Changed paths:
M sapi/phpdbg/phpdbg_cmd.c
Diff:
diff --git a/sapi/phpdbg/phpdbg_cmd.c b/sapi/phpdbg/phpdbg_cmd.c
index 34456bb..69b08f3 100644
--- a/sapi/phpdbg/phpdbg_cmd.c
+++ b/sapi/phpdbg/phpdbg_cmd.c
@@ -325,7 +325,7 @@ PHPDBG_API void phpdbg_param_debug(const phpdbg_param_t *param, const char *msg)
if (param && param->type) {
switch (param->type) {
case STR_PARAM:
- fprintf(stderr, "%s STR_PARAM(%s=%lu)\n", msg, param->str, param->len);
+ fprintf(stderr, "%s STR_PARAM(%s=%zu)\n", msg, param->str, param->len);
break;
case ADDR_PARAM:
@@ -357,11 +357,11 @@ PHPDBG_API void phpdbg_param_debug(const phpdbg_param_t *param, const char
*msg)
break;
case COND_PARAM:
- fprintf(stderr, "%s COND_PARAM(%s=%lu)\n", msg, param->str, param->len);
+ fprintf(stderr, "%s COND_PARAM(%s=%zu)\n", msg, param->str, param->len);
break;
case OP_PARAM:
- fprintf(stderr, "%s OP_PARAM(%s=%lu)\n", msg, param->str, param->len);
+ fprintf(stderr, "%s OP_PARAM(%s=%zu)\n", msg, param->str, param->len);
break;
default: {