aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/kernel
diff options
context:
space:
mode:
authorEugene Sandulenko2013-09-29 09:45:16 +0300
committerEugene Sandulenko2013-09-29 09:45:16 +0300
commit7a669b770f81cbb739f6d45884d898a83fff8a13 (patch)
tree6172219c93c7525081055539f534c14b2408321e /engines/sword25/kernel
parent2a2a5e51c6ae7ad77bcf16339982353a5b424b10 (diff)
downloadscummvm-rg350-7a669b770f81cbb739f6d45884d898a83fff8a13.tar.gz
scummvm-rg350-7a669b770f81cbb739f6d45884d898a83fff8a13.tar.bz2
scummvm-rg350-7a669b770f81cbb739f6d45884d898a83fff8a13.zip
SWORD25: Specifying int size to make Amiga happy
Diffstat (limited to 'engines/sword25/kernel')
-rw-r--r--engines/sword25/kernel/outputpersistenceblock.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword25/kernel/outputpersistenceblock.cpp b/engines/sword25/kernel/outputpersistenceblock.cpp
index 48d0ab3d53..53fb624767 100644
--- a/engines/sword25/kernel/outputpersistenceblock.cpp
+++ b/engines/sword25/kernel/outputpersistenceblock.cpp
@@ -74,14 +74,14 @@ void OutputPersistenceBlock::write(bool value) {
void OutputPersistenceBlock::writeString(const Common::String &string) {
writeMarker(STRING_MARKER);
- write(string.size());
+ write((uint32)string.size());
rawWrite(string.c_str(), string.size());
}
void OutputPersistenceBlock::writeByteArray(Common::Array<byte> &value) {
writeMarker(BLOCK_MARKER);
- write((uint)value.size());
+ write((uint32)value.size());
rawWrite(&value[0], value.size());
}