diff options
author | rubidium <rubidium@openttd.org> | 2008-05-27 21:41:00 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-27 21:41:00 +0000 |
commit | 33e18c236da7a21e796b2d130060367759753acd (patch) | |
tree | 086ec523744482fc8374da46db2a402e4b5c5d0a /src/cheat.cpp | |
parent | 0682b0304603150e4c0d365f687a60a2bc5bc350 (diff) | |
download | openttd-33e18c236da7a21e796b2d130060367759753acd.tar.xz |
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
Diffstat (limited to 'src/cheat.cpp')
-rw-r--r-- | src/cheat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cheat.cpp b/src/cheat.cpp index f0b41d430..8a7d2e04c 100644 --- a/src/cheat.cpp +++ b/src/cheat.cpp @@ -30,7 +30,7 @@ static void Save_CHTS() static void Load_CHTS() { Cheat *cht = (Cheat*)&_cheats; - uint count = SlGetFieldLength() / 2; + size_t count = SlGetFieldLength() / 2; for (uint i = 0; i < count; i++) { cht[i].been_used = (SlReadByte() != 0); |