From: Dmitry Stogov Date: Tue, 13 Jun 2006 14:22:27 +0000 (+0000) Subject: Removed warnings X-Git-Tag: RELEASE_1_0_0RC1~2733 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e901a7a870c158542bbbf1c908b091c3eac07b35;p=php Removed warnings --- diff --git a/sapi/cgi/cgi_main.c b/sapi/cgi/cgi_main.c index fd5b13d10e..a1ea67bddc 100644 --- a/sapi/cgi/cgi_main.c +++ b/sapi/cgi/cgi_main.c @@ -313,14 +313,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);