diff options
author | Rasmus Lerdorf <rasmus@php.net> | 2006-05-13 21:42:14 +0000 |
---|---|---|
committer | Rasmus Lerdorf <rasmus@php.net> | 2006-05-13 21:42:14 +0000 |
commit | 0f30174f3c184084fb1caba485ae97aa509352fe (patch) | |
tree | 6571f14a45b32014afd7ede22eb092271c026a34 | |
parent | 727982d2684132e2d5c3347b14a28ba0c2327ccc (diff) | |
download | php-git-0f30174f3c184084fb1caba485ae97aa509352fe.tar.gz |
ap_get_client_block can return -1, so don't use an unsigned int here
-rw-r--r-- | sapi/apache/mod_php4.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |