summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/settings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index d11ee4344..4b98adb86 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -143,7 +143,7 @@ static size_t LookupManyOfMany(const char *many, const char *str)
r = LookupOneOfMany(many, str, s - str);
if (r == (size_t)-1) return r;
- SetBit(res, r); // value found, set it
+ SetBit(res, (uint8)r); // value found, set it
if (*s == 0) break;
str = s + 1;
}