dmitry          Tue Jun 13 13:55:12 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/sapi/cgi   fastcgi.c 
  Log:
  Removed warning
  
  
http://cvs.php.net/viewcvs.cgi/php-src/sapi/cgi/fastcgi.c?r1=1.4.2.13.2.5&r2=1.4.2.13.2.6&diff_format=u
Index: php-src/sapi/cgi/fastcgi.c
diff -u php-src/sapi/cgi/fastcgi.c:1.4.2.13.2.5 
php-src/sapi/cgi/fastcgi.c:1.4.2.13.2.6
--- php-src/sapi/cgi/fastcgi.c:1.4.2.13.2.5     Thu May 25 06:40:04 2006
+++ php-src/sapi/cgi/fastcgi.c  Tue Jun 13 13:55:12 2006
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: fastcgi.c,v 1.4.2.13.2.5 2006/05/25 06:40:04 dmitry Exp $ */
+/* $Id: fastcgi.c,v 1.4.2.13.2.6 2006/06/13 13:55:12 dmitry Exp $ */
 
 #include "php.h"
 #include "fastcgi.h"
@@ -719,7 +719,7 @@
        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;
        }
 }

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

Reply via email to