Fix warnings on Windows

This commit is contained in:
Ilya Fedin
2024-07-03 22:55:10 +04:00
committed by John Preston
parent 8d0d9bb0bd
commit aa140b2919
6 changed files with 16 additions and 24 deletions

View File

@@ -553,7 +553,7 @@ bool ReadSetting(
const auto proxy = readProxy();
if (proxy) {
list.push_back(proxy);
} else if (index < -list.size()) {
} else if (index < -int64(list.size())) {
++index;
} else if (index > list.size()) {
--index;