diff options
author | rubidium <rubidium@openttd.org> | 2011-06-13 07:43:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-06-13 07:43:48 +0000 |
commit | dc74518b96315f5d5f1f35a2c2025c1918d432b9 (patch) | |
tree | f3ef837842a78827bfced535991c0d500ae55ed5 /src | |
parent | 3d4c35c3ca686a8d62a775548b99d798be97289e (diff) | |
download | openttd-dc74518b96315f5d5f1f35a2c2025c1918d432b9.tar.xz |
(svn r22577) -Fix: MSVC64 compile warning
Diffstat (limited to 'src')
-rw-r--r-- | src/settings.cpp | 2 |
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; } |