aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/gargoyle/scott/scott.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gargoyle/scott/scott.cpp b/engines/gargoyle/scott/scott.cpp
index 3316995482..698a2ea0c3 100644
--- a/engines/gargoyle/scott/scott.cpp
+++ b/engines/gargoyle/scott/scott.cpp
@@ -1241,7 +1241,7 @@ void Scott::readInts(Common::SeekableReadStream *f, size_t count, ...) {
c = f->readByte();
// Get the next value
- int *val = (int *)va_arg(va, int);
+ int *val = va_arg(va, int *);
*val = 0;
int factor = c == '-' ? -1 : 1;