]> granicus.if.org Git - php/commitdiff
We might want to consider moving this to a long throughout the sapi code,
authorRasmus Lerdorf <rasmus@php.net>
Sat, 13 May 2006 21:48:14 +0000 (21:48 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sat, 13 May 2006 21:48:14 +0000 (21:48 +0000)
but for now switch to a signed int.

sapi/apache/mod_php5.c

index 925a0b6cf0150d52a34fac7f9b9d385f03e6fc3a..d2f2cde2efdcd56f8f6ea3a870d590d69b8a2609 100644 (file)
@@ -123,7 +123,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);