summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-06-13 07:43:48 +0000
committerrubidium <rubidium@openttd.org>2011-06-13 07:43:48 +0000
commitdc74518b96315f5d5f1f35a2c2025c1918d432b9 (patch)
treef3ef837842a78827bfced535991c0d500ae55ed5
parent3d4c35c3ca686a8d62a775548b99d798be97289e (diff)
downloadopenttd-dc74518b96315f5d5f1f35a2c2025c1918d432b9.tar.xz
(svn r22577) -Fix: MSVC64 compile warning
-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;
}