X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http_message_api.c;h=b1194645ecc87caae8d33ab0f68e866e7fb1d0be;hb=0ac87717530843df93ca94ffa8c3fd8935f346cb;hp=1cf8661546574505b5d3d1dd255713c585c2b058;hpb=902d195a198f4976c8ff081a95cdd3e315c14f5f;p=m6w6%2Fext-http diff --git a/http_message_api.c b/http_message_api.c index 1cf8661..b119464 100644 --- a/http_message_api.c +++ b/http_message_api.c @@ -190,7 +190,7 @@ PHP_HTTP_API http_message *_http_message_parse_ex(http_message *msg, const char zval *len; char *tmp; - spprintf(&tmp, 0, "%lu", decoded_len); + spprintf(&tmp, 0, "%lu", (ulong) decoded_len); MAKE_STD_ZVAL(len); ZVAL_STRING(len, tmp, 0);