From cde814cab3b07c516fc3ad94ebd69c5d7af6dd33 Mon Sep 17 00:00:00 2001 From: Pavel P Date: Mon, 2 Dec 2024 17:23:07 +0200 Subject: [PATCH] Fix casting uint64_t to size_t for 32-bit builds --- httplib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)); } }