summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2013-09-17 16:02:08 +0200
committerAnatol Belski <ab@php.net>2013-09-17 16:02:08 +0200
commit4a85b5e190d6651bee26bbbeff4ed09d2932f352 (patch)
tree906aabdfa1310435a3cb43324c900998536e8dbc /main/php_variables.c
parente6084da4735c945cb071c4d9259ea0d702eb77c6 (diff)
downloadphp-git-4a85b5e190d6651bee26bbbeff4ed09d2932f352.tar.gz
fix build - PRIu64 vs %I64u
Diffstat (limited to 'main/php_variables.c')
-rw-r--r--main/php_variables.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/php_variables.c b/main/php_variables.c
index af3a6aae7b..353aa6357d 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -292,7 +292,11 @@ static inline int add_post_vars(zval *arr, post_var_data_t *vars, zend_bool eof
while (add_post_var(arr, vars, eof TSRMLS_CC)) {
if (++vars->cnt > max_vars) {
php_error_docref(NULL TSRMLS_CC, E_WARNING,
+#ifdef PHP_WIN32
+ "Input variables exceeded %I64u. "
+#else
"Input variables exceeded %" PRIu64 ". "
+#endif
"To increase the limit change max_input_vars in php.ini.",
max_vars);
return FAILURE;