diff --git a/httplib.h b/httplib.h index 727d2d7546..e25fa2a860 100644 --- a/httplib.h +++ b/httplib.h @@ -8002,7 +8002,7 @@ inline bool ClientImpl::process_request(Stream &strm, Request &req, error = Error::Read; return false; } - res.body.reserve(len); + res.body.reserve(static_cast(len)); } }