cvs: php4 /sapi/cgi cgi_main.c

From: Date: Fri, 20 Oct 2000 19:08:59 +0000
Subject: cvs: php4 /sapi/cgi cgi_main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-2168@lists.php.net to get a copy of this message
fmk Fri Oct 20 12:08:59 2000 EDT Modified files: /php4/sapi/cgi cgi_main.c Log: Adding type cast to remove compiler warning Index: php4/sapi/cgi/cgi_main.c diff -u php4/sapi/cgi/cgi_main.c:1.72 php4/sapi/cgi/cgi_main.c:1.73 --- php4/sapi/cgi/cgi_main.c:1.72 Wed Oct 11 10:48:44 2000 +++ php4/sapi/cgi/cgi_main.c Fri Oct 20 12:08:59 2000 @@ -130,7 +130,7 @@ { uint read_bytes=0, tmp_read_bytes; - count_bytes = MIN(count_bytes, SG(request_info).content_length-SG(read_post_bytes)); + count_bytes = MIN(count_bytes, (uint)SG(request_info).content_length-SG(read_post_bytes)); while (read_bytes < count_bytes) { tmp_read_bytes = read(0, buffer+read_bytes, count_bytes-read_bytes); if (tmp_read_bytes<=0) {

« previous php.cvs (#2168) next »