dmitry          Tue Jun 13 14:22:46 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /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.267.2.15.2.4&r2=1.267.2.15.2.5&diff_format=u
Index: php-src/sapi/cgi/cgi_main.c
diff -u php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.4 
php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.5
--- php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.4  Sat Jun  3 22:02:02 2006
+++ php-src/sapi/cgi/cgi_main.c Tue Jun 13 14:22:46 2006
@@ -21,7 +21,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: cgi_main.c,v 1.267.2.15.2.4 2006/06/03 22:02:02 johannes Exp $ */
+/* $Id: cgi_main.c,v 1.267.2.15.2.5 2006/06/13 14:22:46 dmitry Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -323,14 +323,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