com php-src: fix build - PRIu64 vs %I64u: main/php_variables .c
| From: | Anatol Belski | Date: | Tue, 17 Sep 2013 14:02:08 +0000 |
| Subject: | com php-src: fix build - PRIu64 vs %I64u: main/php_variables .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73238@lists.php.net to get a copy of this message | ||
Commit: 4a85b5e190d6651bee26bbbeff4ed09d2932f352
Author: Anatol Belski <ab@php.net> Tue, 17 Sep 2013 16:02:08 +0200
Parents: e6084da4735c945cb071c4d9259ea0d702eb77c6
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4a85b5e190d6651bee26bbbeff4ed09d2932f352
Log:
fix build - PRIu64 vs %I64u
Changed paths:
M main/php_variables.c
Diff:
diff --git a/main/php_variables.c b/main/php_variables.c
index af3a6aa..353aa63 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;