com php-src: Fixed compilation warning: ext/opcache/Optimizer/z end_dump.c
| From: | Dmitry Stogov | Date: | Thu, 26 Nov 2015 08:27:24 +0000 |
| Subject: | com php-src: Fixed compilation warning: ext/opcache/Optimizer/z end_dump.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-90035@lists.php.net to get a copy of this message | ||
Commit: 2e6cf2710a665d39136be9b6ceea330a015dfd63
Author: Dmitry Stogov <dmitry@zend.com> Thu, 26 Nov 2015 11:27:24 +0300
Parents: f9dd83cbe37bcbae173fb3e08b62cfc1c2718085
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2e6cf2710a665d39136be9b6ceea330a015dfd63
Log:
Fixed compilation warning
Changed paths:
M ext/opcache/Optimizer/zend_dump.c
Diff:
diff --git a/ext/opcache/Optimizer/zend_dump.c b/ext/opcache/Optimizer/zend_dump.c
index b5780e7..a83e356 100644
--- a/ext/opcache/Optimizer/zend_dump.c
+++ b/ext/opcache/Optimizer/zend_dump.c
@@ -100,7 +100,7 @@ static void zend_dump_op(const zend_op_array *op_array, const zend_basic_block *
if (b) {
fprintf(stderr, " BB%d", b->successors[n++]);
} else {
- fprintf(stderr, " L" ZEND_LONG_FMT, ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline,
opline->extended_value));
+ fprintf(stderr, " L%u", (uint32_t)ZEND_OFFSET_TO_OPLINE_NUM(op_array, opline,
opline->extended_value));
}
}
}