Skip to content

Commit

Permalink
Fix casting uint64_t to size_t for 32-bit builds (#1999)
Browse files Browse the repository at this point in the history
  • Loading branch information
pps83 authored Dec 2, 2024
1 parent 51dee79 commit c817d65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}

Expand Down

0 comments on commit c817d65

Please sign in to comment.