dmitry          Tue Jun 13 13:55:32 2006 UTC

  Modified files:              
    /php-src/sapi/cgi   fastcgi.c 
  Log:
  Removed warning
  
  
http://cvs.php.net/viewcvs.cgi/php-src/sapi/cgi/fastcgi.c?r1=1.19&r2=1.20&diff_format=u
Index: php-src/sapi/cgi/fastcgi.c
diff -u php-src/sapi/cgi/fastcgi.c:1.19 php-src/sapi/cgi/fastcgi.c:1.20
--- php-src/sapi/cgi/fastcgi.c:1.19     Thu May 25 06:40:47 2006
+++ php-src/sapi/cgi/fastcgi.c  Tue Jun 13 13:55:32 2006
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: fastcgi.c,v 1.19 2006/05/25 06:40:47 dmitry Exp $ */
+/* $Id: fastcgi.c,v 1.20 2006/06/13 13:55:32 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