aboutsummaryrefslogtreecommitdiff
path: root/cheat.c
diff options
context:
space:
mode:
Diffstat (limited to 'cheat.c')
-rw-r--r--cheat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cheat.c b/cheat.c
index 4304593..cb644ee 100644
--- a/cheat.c
+++ b/cheat.c
@@ -12,7 +12,7 @@
static size_t parse_count(FILE *file) {
size_t count = 0;
- fscanf(file, " cheats = %ld\n", &count);
+ fscanf(file, " cheats = %lu\n", (unsigned long *)&count);
return count;
}