X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;ds=sidebyside;f=php_http_api.h;h=826f6cd198572b66b0192f8c26f46e431513f0ea;hb=c84a33c447309f6ac03a0f21e309b3deb4ca543c;hp=fc34e87a1afeaf5b08d0fa4c6deb15e5b481d49b;hpb=bb27380dd3b232aa0d0c7b8a40dabf2ac1066c34;p=m6w6%2Fext-http diff --git a/php_http_api.h b/php_http_api.h index fc34e87..826f6cd 100644 --- a/php_http_api.h +++ b/php_http_api.h @@ -84,7 +84,7 @@ static inline const char *_http_locate_body(const char *message) } #define http_locate_eol _http_locate_eol -static inline const char *_http_locate_eol(const char *line, size_t *eol_len) +static inline const char *_http_locate_eol(const char *line, int *eol_len) { const char *eol = strpbrk(line, "\r\n");