summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2019-02-25 15:04:04 +0800
committerXinchen Hui <laruence@gmail.com>2019-02-25 15:04:04 +0800
commit4ac954ac3e1217864e592ebb1531b4f0f31e2264 (patch)
treee40c956c1c8be01d58fd8844a88c8cb7af669681
parentfb3f078eeb4ecb2de783b7ee936dd583e6285d3e (diff)
downloadphp-git-4ac954ac3e1217864e592ebb1531b4f0f31e2264.tar.gz
Fixed compiler warning
-rw-r--r--Zend/zend_compile.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index aa1853aff7..90679c8cc9 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);
}
}