From 47335ef956380fbfd1b4eeb8949c5ce2d0378b5b Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Thu, 15 May 2014 20:30:30 +0200 Subject: [PATCH] fix casting --- sapi/cgi/fastcgi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapi/cgi/fastcgi.c b/sapi/cgi/fastcgi.c index 585b6b8e87..afbb7d2a37 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); } -- 2.50.1