summaryrefslogtreecommitdiff
path: root/src/cheat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cheat.cpp')
-rw-r--r--src/cheat.cpp2
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);