From: Dmitry Stogov Date: Tue, 13 Jun 2006 14:22:46 +0000 (+0000) Subject: Removed warnings X-Git-Tag: php-5.2.0RC1~321 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eb8c558966e03c7e678cfa93b10f70fb0693bf74;p=php Removed warnings --- diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index 8025af19b6..c58afaae33 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -323,14 +323,14 @@ static int sapi_cgi_send_headers(sapi_headers_struct *sapi_headers TSRMLS_DC) PHPWRITE_H(buf, len); } - h = zend_llist_get_first_ex(&sapi_headers->headers, &pos); + h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); while (h) { /* prevent CRLFCRLF */ if (h->header_len) { PHPWRITE_H(h->header, h->header_len); PHPWRITE_H("\r\n", 2); } - h = zend_llist_get_next_ex(&sapi_headers->headers, &pos); + h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); } PHPWRITE_H("\r\n", 2);