X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=php_http_header_parser.c;h=866a84e20373e1ce2b421769754aa69ecde56d2c;hp=e0dea5babf3e5987b678756696e2cc46c9d04e44;hb=2a501676c41f8b78392fdf4cd33e9eeaf46736f4;hpb=22f2117f08acf0fcf84d70a54ef168ff1627fc69 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)) { \