From: Kalle Sommer Nielsen Date: Sun, 19 Sep 2010 19:18:30 +0000 (+0000) Subject: Fix incompatible types, we need to use a char here for recv() X-Git-Tag: php-5.4.0alpha1~191^2~919 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=210fe80bd5f221b2aa4b0b562fc0abdd4dd2f3a5;p=php Fix incompatible types, we need to use a char here for recv() --- diff --git a/sapi/cgi/fastcgi.c b/sapi/cgi/fastcgi.c index 935f1ee80a..b1edc9d1ce 100644 --- a/sapi/cgi/fastcgi.c +++ b/sapi/cgi/fastcgi.c @@ -1108,7 +1108,7 @@ static inline void fcgi_close(fcgi_request *req, int force, int destroy) DisconnectNamedPipe(pipe); } else { if (!force) { - fcgi_header buf; + char buf; shutdown(req->fd, 1); /* read the last FCGI_STDIN header (it may be omitted) */