Browse Source

Removed warning

migration/RELEASE_1_0_0
Dmitry Stogov 20 years ago
parent
commit
cd54f8ef04
  1. 2
      sapi/cgi/fastcgi.c

2
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;
}
}

Loading…
Cancel
Save