diff options
| author | 2022-10-14 12:54:36 +0100 | |
|---|---|---|
| committer | 2022-10-14 12:54:36 +0100 | |
| commit | edfa7270f7e0bf007371121ec326c10b9607dc4b (patch) | |
| tree | eed0907dc77207f5cd6dc51b89520e8fb30820ad /src/listmode.cpp | |
| parent | Fix a harmless todo in clientprotocolmsg. (diff) | |
Fix various inappropriate uses of UINT_MAX.
Diffstat (limited to 'src/listmode.cpp')
| -rw-r--r-- | src/listmode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listmode.cpp b/src/listmode.cpp index 3ef60f095..d9f730923 100644 --- a/src/listmode.cpp +++ b/src/listmode.cpp @@ -146,7 +146,7 @@ unsigned long ListModeBase::GetLowerLimit() if (chanlimits.empty()) return DEFAULT_LIST_SIZE; - unsigned long limit = UINT_MAX; + unsigned long limit = ULONG_MAX; for (const auto& chanlimit : chanlimits) { if (chanlimit.limit < limit) |
