Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: fix GetRangeWithMaxLongLength on 32 bit machines (#1867)
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: #1795
- Loading branch information