]> granicus.if.org Git - php/commitdiff
Fixed "signed/unsigned mismatch" warning
authorDmitry Stogov <dmitry@php.net>
Mon, 4 Sep 2006 07:27:50 +0000 (07:27 +0000)
committerDmitry Stogov <dmitry@php.net>
Mon, 4 Sep 2006 07:27:50 +0000 (07:27 +0000)
sapi/cgi/fastcgi.c

index 2427af15f77838d1f4b71398f6acd41fe617665c..ae57779b7cae7ce98c966d10d90bddb58c6eb9c2 100644 (file)
@@ -394,7 +394,7 @@ static void fcgi_get_params(fcgi_request *req, unsigned char *p, unsigned char *
 {
        char buf[128];
        char *tmp = buf;
-       size_t buf_size = sizeof(buf);
+       int buf_size = sizeof(buf);
        int name_len, val_len;
        char *s;