]> granicus.if.org Git - php/commitdiff
MFH
authorfoobar <sniper@php.net>
Thu, 28 Apr 2005 14:24:47 +0000 (14:24 +0000)
committerfoobar <sniper@php.net>
Thu, 28 Apr 2005 14:24:47 +0000 (14:24 +0000)
sapi/cgi/cgi_main.c

index 015a99c5309c40f6df89e38da890f4bc65342125..a94a7808d86efc9ae1d3dcca8d9644591d74f87b 100644 (file)
@@ -482,7 +482,7 @@ static void sapi_cgi_register_variables(zval *track_vars_array TSRMLS_DC)
 static void sapi_cgi_log_message(char *message)
 {
 #if PHP_FASTCGI
-       int logging = 1;
+       long logging = 1;
        TSRMLS_FETCH();
 
        if (cfg_get_long("fastcgi.logging", &logging) == FAILURE) {
@@ -1003,7 +1003,7 @@ int main(int argc, char *argv[])
        int fcgi_fd = 0;
        FCGX_Request request;
 #ifdef PHP_WIN32
-       int impersonate = 0;
+       long impersonate = 0;
 #else
     int status = 0;
 #endif