aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/input/inputengine.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2013-09-29 09:30:23 +0300
committerEugene Sandulenko2013-09-29 09:30:23 +0300
commit2a2a5e51c6ae7ad77bcf16339982353a5b424b10 (patch)
treedaeacea577fabcc04883108788ff066be0d64613 /engines/sword25/input/inputengine.cpp
parentbefa99ca7761370e9f11c425b459d410d371723f (diff)
downloadscummvm-rg350-2a2a5e51c6ae7ad77bcf16339982353a5b424b10.tar.gz
scummvm-rg350-2a2a5e51c6ae7ad77bcf16339982353a5b424b10.tar.bz2
scummvm-rg350-2a2a5e51c6ae7ad77bcf16339982353a5b424b10.zip
SWORD25: Fix Amiga compilation
Diffstat (limited to 'engines/sword25/input/inputengine.cpp')
-rw-r--r--engines/sword25/input/inputengine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/input/inputengine.cpp b/engines/sword25/input/inputengine.cpp
index bb9c2c8b40..57fb6dfc09 100644
--- a/engines/sword25/input/inputengine.cpp
+++ b/engines/sword25/input/inputengine.cpp
@@ -235,13 +235,13 @@ bool InputEngine::persist(OutputPersistenceBlock &writer) {
// Write out the number of command callbacks and their names.
// Note: We do this only for compatibility with older engines resp.
// the original engine.
- writer.write((uint)1);
+ writer.write((uint32)1);
writer.writeString("LuaCommandCB");
// Write out the number of command callbacks and their names.
// Note: We do this only for compatibility with older engines resp.
// the original engine.
- writer.write((uint)1);
+ writer.write((uint32)1);
writer.writeString("LuaCharacterCB");
return true;
@@ -253,7 +253,7 @@ bool InputEngine::unpersist(InputPersistenceBlock &reader) {
// Read number of command callbacks and their names.
// Note: We do this only for compatibility with older engines resp.
// the original engine.
- uint commandCallbackCount;
+ uint32 commandCallbackCount;
reader.read(commandCallbackCount);
assert(commandCallbackCount == 1);