Sorry, "linelimit" is an int and compared to an int.
Only "i" should be a size_t...

Index: modules/http/http_filters.c
===================================================================
--- modules/http/http_filters.c    (revision 1485126)
+++ modules/http/http_filters.c    (working copy)
@@ -91,7 +91,7 @@
 static apr_status_t parse_chunk_size(http_ctx_t *ctx, const char *buffer,
         apr_size_t len, int linelimit)
 {
-    int i = 0;
+    apr_size_t i = 0;

     while (i < len) {
         char c = buffer[i];

Regards,
Yann.

Reply via email to