X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=php_http_header_parser.c;h=866a84e20373e1ce2b421769754aa69ecde56d2c;hb=a5dac57bfda10f24d6f2fb5047b4c5408a97651d;hp=e0dea5babf3e5987b678756696e2cc46c9d04e44;hpb=22f2117f08acf0fcf84d70a54ef168ff1627fc69;p=m6w6%2Fext-http diff --git a/php_http_header_parser.c b/php_http_header_parser.c index e0dea5b..866a84e 100644 --- a/php_http_header_parser.c +++ b/php_http_header_parser.c @@ -155,7 +155,7 @@ PHP_HTTP_API STATUS php_http_header_parser_parse(php_http_header_parser_t *parse #define SET_ADD_VAL(slen, eol_len) \ do { \ - char *ptr = buffer->data; \ + const char *ptr = buffer->data; \ size_t len = slen; \ \ while (len > 0 && PHP_HTTP_IS_CTYPE(space, *ptr)) { \