mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-10 01:33:53 +00:00
The test used the hardcoded long value for 64 bit machines even on 32 bit ones, leading to test failures. With this patch the max long length is obtained using std::numeric_limits<long>::max(). Thanks to q2a3z for the hint! Fixes: https://github.com/yhirose/cpp-httplib/issues/1795