From c817d656950134106f5d994f29d0cf3dab95dac5 Mon Sep 17 00:00:00 2001 From: Pavel P Date: Mon, 2 Dec 2024 21:09:52 +0500 Subject: [PATCH] Fix casting uint64_t to size_t for 32-bit builds (#1999) --- 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)); } }