1
0
mirror of synced 2025-04-19 00:24:02 +03:00

Fix casting uint64_t to size_t for 32-bit builds (#1999)

This commit is contained in:
Pavel P 2024-12-02 21:09:52 +05:00 committed by GitHub
parent 51dee793fe
commit c817d65695
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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<size_t>(len));
}
}