From 0f30174f3c184084fb1caba485ae97aa509352fe Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sat, 13 May 2006 21:42:14 +0000 Subject: [PATCH] ap_get_client_block can return -1, so don't use an unsigned int here --- sapi/apache/mod_php4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.50.1