[PATCH] sapi/cgi fix force_redirect type

php.internals

Joe Orton

22 years ago
4.3/sapi/cgi/cgi_main.c: In function `main': 4.3/sapi/cgi/cgi_main.c:1080: warning: passing arg 2 of `cfg_get_long' from incompatible pointer type real bug, could do nasty things on LP64 platforms: --- sapi/cgi/cgi_main.c 21 Sep 2003 22:08:13 -0000 1.190.2.49 +++ sapi/cgi/cgi_main.c 13 Oct 2003 12:28:23 -0000 @@ -956,7 +956,7 @@ zend_llist global_vars; int interactive=0; #if FORCE_CGI_REDIRECT - int force_redirect = 1; + long force_redirect = 1; char *redirect_status_env = NULL; #endif