summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@php.net>2006-06-13 13:55:32 +0000
committerDmitry Stogov <dmitry@php.net>2006-06-13 13:55:32 +0000
commitcd54f8ef044b86047acbd665e7f405949d1253ea (patch)
treeae429983d140d66ed857400e7b3299ff59742637
parent943960c324597281c02c42ae2ead2c2d7ef01be7 (diff)
downloadphp-git-cd54f8ef044b86047acbd665e7f405949d1253ea.tar.gz
Removed warning
-rw-r--r--sapi/cgi/fastcgi.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}