dmitry          Tue Jun 13 14:22:27 2006 UTC

  Modified files:              
    /php-src/sapi/cgi   cgi_main.c 
  Log:
  Removed warnings
  
  
http://cvs.php.net/viewcvs.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.291&r2=1.292&diff_format=u
Index: php-src/sapi/cgi/cgi_main.c
diff -u php-src/sapi/cgi/cgi_main.c:1.291 php-src/sapi/cgi/cgi_main.c:1.292
--- php-src/sapi/cgi/cgi_main.c:1.291   Sat Jun  3 22:00:30 2006
+++ php-src/sapi/cgi/cgi_main.c Tue Jun 13 14:22:27 2006
@@ -21,7 +21,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: cgi_main.c,v 1.291 2006/06/03 22:00:30 johannes Exp $ */
+/* $Id: cgi_main.c,v 1.292 2006/06/13 14:22:27 dmitry Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -313,14 +313,14 @@
                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);
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to