kalle           Tue May 19 16:02:56 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/sapi/cgi   cgi_main.c 
  Log:
  MFH: Fix compiler warnings
  
http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.267.2.15.2.50.2.37&r2=1.267.2.15.2.50.2.38&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.50.2.37 
php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.38
--- php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.37    Mon Jan 19 18:17:32 2009
+++ php-src/sapi/cgi/cgi_main.c Tue May 19 16:02:55 2009
@@ -21,7 +21,7 @@
    +----------------------------------------------------------------------+
 */
 
-/* $Id: cgi_main.c,v 1.267.2.15.2.50.2.37 2009/01/19 18:17:32 dsp Exp $ */
+/* $Id: cgi_main.c,v 1.267.2.15.2.50.2.38 2009/05/19 16:02:55 kalle Exp $ */
 
 #include "php.h"
 #include "php_globals.h"
@@ -471,7 +471,8 @@
 
 static int sapi_cgi_read_post(char *buffer, uint count_bytes TSRMLS_DC)
 {
-       int read_bytes=0, tmp_read_bytes;
+       uint read_bytes = 0;
+       int tmp_read_bytes;
 
        count_bytes = MIN(count_bytes, (uint) SG(request_info).content_length - 
SG(read_post_bytes));
        while (read_bytes < count_bytes) {



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

Reply via email to