From 5a73f8f13f7ae229b6ad252fc144eeaaad134cc5 Mon Sep 17 00:00:00 2001 From: Dmitry Stogov Date: Tue, 13 Jun 2006 13:55:12 +0000 Subject: [PATCH] Removed warning --- 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 1a6cd54ac1..15bceb93be 100644 --- a/sapi/cgi/fastcgi.c +++ b/sapi/cgi/fastcgi.c @@ -719,7 +719,7 @@ static inline void close_packet(fcgi_request *req) if (req->out_hdr) { int len = req->out_pos - ((unsigned char*)req->out_hdr + sizeof(fcgi_header)); - req->out_pos += fcgi_make_header(req->out_hdr, req->out_hdr->type, req->id, len); + req->out_pos += fcgi_make_header(req->out_hdr, (fcgi_request_type)req->out_hdr->type, req->id, len); req->out_hdr = NULL; } } -- 2.50.1