From: Rasmus Lerdorf Date: Sat, 13 May 2006 21:42:14 +0000 (+0000) Subject: ap_get_client_block can return -1, so don't use an unsigned int here X-Git-Tag: php-4.4.3RC1~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0f30174f3c184084fb1caba485ae97aa509352fe;p=php ap_get_client_block can return -1, so don't use an unsigned int here --- diff --git a/sapi/apache/mod_php4.c b/sapi/apache/mod_php4.c index 675cdbb4f2..678cd69b18 100644 --- a/sapi/apache/mod_php4.c +++ b/sapi/apache/mod_php4.c @@ -126,7 +126,7 @@ static void sapi_apache_flush(void *server_context) */ static int sapi_apache_read_post(char *buffer, uint count_bytes TSRMLS_DC) { - uint total_read_bytes=0, read_bytes; + int total_read_bytes=0, read_bytes; request_rec *r = (request_rec *) SG(server_context); void (*handler)(int);