(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.

This commit is contained in:
rubidium
2008-05-27 21:41:00 +00:00
parent 49a0bd7f90
commit 5c5ee7eb57
28 changed files with 88 additions and 83 deletions

View File

@@ -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);