]> granicus.if.org Git - php/commitdiff
Fixed compiler warning
authorXinchen Hui <laruence@gmail.com>
Mon, 25 Feb 2019 07:04:04 +0000 (15:04 +0800)
committerXinchen Hui <laruence@gmail.com>
Mon, 25 Feb 2019 07:04:04 +0000 (15:04 +0800)
Zend/zend_compile.c

index aa1853aff71f88852851d89c417aaf4d9395056a..90679c8cc954c6d94334b09ab2a5446961da4b2d 100644 (file)
@@ -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);
                        }
                }