mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 01:08:27 +00:00
Fix casting uint64_t to size_t for 32-bit builds (#1999)
This commit is contained in:
parent
51dee793fe
commit
c817d65695
1 changed files with 1 additions and 1 deletions
|
@ -8002,7 +8002,7 @@ inline bool ClientImpl::process_request(Stream &strm, Request &req,
|
||||||
error = Error::Read;
|
error = Error::Read;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
res.body.reserve(len);
|
res.body.reserve(static_cast<size_t>(len));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue