]> granicus.if.org Git - php/commitdiff
fix signed/unsigned mismatch
authorAnatol Belski <ab@php.net>
Mon, 15 Sep 2014 15:51:07 +0000 (17:51 +0200)
committerAnatol Belski <ab@php.net>
Mon, 15 Sep 2014 17:46:31 +0000 (19:46 +0200)
main/SAPI.c

index 750b95cc0fadccd73c8d794754b13b3e51ccb83b..4771ea7d026ba04e52350ba2f86f000b9b8dd257 100644 (file)
@@ -739,7 +739,7 @@ SAPI_API int sapi_header_op(sapi_header_op_enum op, void *arg TSRMLS_DC)
                return SUCCESS;
        } else {
                /* new line/NUL character safety check */
-               int i;
+               uint i;
                for (i = 0; i < header_line_len; i++) {
                        /* RFC 2616 allows new lines if followed by SP or HT */
                        int illegal_break =