]> granicus.if.org Git - php/commitdiff
fix compile warning
authorAntony Dovgal <tony2001@php.net>
Wed, 28 Mar 2007 09:13:55 +0000 (09:13 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 28 Mar 2007 09:13:55 +0000 (09:13 +0000)
main/php_variables.c

index 81e0501fdbe6f03a32d0b83619ff319bef03047c..8c0b34d96180b36898d4a42203541a5998a5f585 100644 (file)
@@ -134,7 +134,7 @@ PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_arra
 
                        if(++nest_level > PG(max_input_nesting_level)) {
                                /* too many levels of nesting */
-                               php_error_docref(NULL TSRMLS_CC, E_ERROR, "Input variable nesting level more than allowed %d (change max_input_nesting_level in php.ini to increase the limit)", PG(max_input_nesting_level));
+                               php_error_docref(NULL TSRMLS_CC, E_ERROR, "Input variable nesting level more than allowed %ld (change max_input_nesting_level in php.ini to increase the limit)", PG(max_input_nesting_level));
                        }
 
                        ip++;