diff options
author | Eugene Sandulenko | 2013-09-29 09:30:23 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2013-09-29 09:30:23 +0300 |
commit | 2a2a5e51c6ae7ad77bcf16339982353a5b424b10 (patch) | |
tree | daeacea577fabcc04883108788ff066be0d64613 /engines/sword25/kernel | |
parent | befa99ca7761370e9f11c425b459d410d371723f (diff) | |
download | scummvm-rg350-2a2a5e51c6ae7ad77bcf16339982353a5b424b10.tar.gz scummvm-rg350-2a2a5e51c6ae7ad77bcf16339982353a5b424b10.tar.bz2 scummvm-rg350-2a2a5e51c6ae7ad77bcf16339982353a5b424b10.zip |
SWORD25: Fix Amiga compilation
Diffstat (limited to 'engines/sword25/kernel')
-rw-r--r-- | engines/sword25/kernel/inputpersistenceblock.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword25/kernel/inputpersistenceblock.cpp b/engines/sword25/kernel/inputpersistenceblock.cpp index 459cddf347..aa3a759756 100644 --- a/engines/sword25/kernel/inputpersistenceblock.cpp +++ b/engines/sword25/kernel/inputpersistenceblock.cpp @@ -48,7 +48,7 @@ InputPersistenceBlock::~InputPersistenceBlock() { } void InputPersistenceBlock::read(int16 &value) { - signed int v; + int32 v; read(v); value = static_cast<int16>(v); } @@ -96,7 +96,7 @@ void InputPersistenceBlock::readString(Common::String &value) { value = ""; if (checkMarker(STRING_MARKER)) { - uint size; + uint32 size; read(size); if (checkBlockSize(size)) { @@ -108,7 +108,7 @@ void InputPersistenceBlock::readString(Common::String &value) { void InputPersistenceBlock::readByteArray(Common::Array<byte> &value) { if (checkMarker(BLOCK_MARKER)) { - uint size; + uint32 size; read(size); if (checkBlockSize(size)) { |