com php-src: Fixed compiler warning: Zend/zend_compile.c
| From: | Xinchen Hui | Date: | Mon, 25 Feb 2019 07:04:04 +0000 |
| Subject: | com php-src: Fixed compiler warning: Zend/zend_compile.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-104857@lists.php.net to get a copy of this message | ||
Commit: 4ac954ac3e1217864e592ebb1531b4f0f31e2264
Author: Xinchen Hui <laruence@gmail.com> Mon, 25 Feb 2019 15:04:04 +0800
Parents: fb3f078eeb4ecb2de783b7ee936dd583e6285d3e
Branches: PHP-7.3 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4ac954ac3e1217864e592ebb1531b4f0f31e2264
Log:
Fixed compiler warning
Changed paths:
M Zend/zend_compile.c
Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index aa1853a..90679c8 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -4572,12 +4572,12 @@ void zend_compile_break_continue(zend_ast *ast) /* {{{ */
if (depth == 1) {
zend_error(E_WARNING,
"\"continue\" targeting switch is equivalent to \"break\". " \
- "Did you mean to use \"continue %d\"?",
+ "Did you mean to use \"continue " ZEND_LONG_FMT "\"?",
depth + 1);
} else {
zend_error(E_WARNING,
- "\"continue %d\" targeting switch is equivalent to \"break %d\".
" \
- "Did you mean to use \"continue %d\"?",
+ "\"continue " ZEND_LONG_FMT "\" targeting switch is equivalent to
\"break " ZEND_LONG_FMT "\". " \
+ "Did you mean to use \"continue " ZEND_LONG_FMT "\"?",
depth, depth, depth + 1);
}
}