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

index be0faa0f697bf7d88f7575fd4325f1d00082ecd0..b655058558a441b8ddaef143b4e867687742ac01 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) {
@@ -976,7 +976,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