com php-src: fix casting: sapi/cgi/fastcgi.c

From: Date: Thu, 15 May 2014 18:30:30 +0000
Subject: com php-src: fix casting: sapi/cgi/fastcgi.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-78389@lists.php.net to get a copy of this message
Commit: 47335ef956380fbfd1b4eeb8949c5ce2d0378b5b Author: Pierre Joye <pierre.php@gmail.com> Thu, 15 May 2014 20:30:30 +0200 Parents: a89759118088fd20755b2bf505c985d61599d053 Branches: phpng Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=47335ef956380fbfd1b4eeb8949c5ce2d0378b5b Log: fix casting Changed paths: M sapi/cgi/fastcgi.c Diff: diff --git a/sapi/cgi/fastcgi.c b/sapi/cgi/fastcgi.c index 585b6b8..afbb7d2 100644 --- a/sapi/cgi/fastcgi.c +++ b/sapi/cgi/fastcgi.c @@ -1112,7 +1112,7 @@ static inline void fcgi_close(fcgi_request *req, int force, int destroy) shutdown(req->fd, 1); /* read the last FCGI_STDIN header (it may be omitted) */ - recv(req->fd, &buf, sizeof(buf), 0); + recv(req->fd, (char *)&buf, sizeof(buf), 0); } closesocket(req->fd); }

« previous php.cvs (#78389) next »