aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/kernel
diff options
context:
space:
mode:
authorSven Hesse2010-10-13 11:22:52 +0000
committerSven Hesse2010-10-13 11:22:52 +0000
commitab57b38fdf72f6ca0e7459c366ba7daebc9217f3 (patch)
tree03c172df129d43b10d0f2466ef481a6e4ce4750a /engines/sword25/kernel
parentc86c0b6b96c06b89a3dbcc40f4082a39d7b185aa (diff)
downloadscummvm-rg350-ab57b38fdf72f6ca0e7459c366ba7daebc9217f3.tar.gz
scummvm-rg350-ab57b38fdf72f6ca0e7459c366ba7daebc9217f3.tar.bz2
scummvm-rg350-ab57b38fdf72f6ca0e7459c366ba7daebc9217f3.zip
SWORD25: Resolve ambigous write() call on 64 bit systems
svn-id: r53410
Diffstat (limited to 'engines/sword25/kernel')
-rw-r--r--engines/sword25/kernel/outputpersistenceblock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/kernel/outputpersistenceblock.cpp b/engines/sword25/kernel/outputpersistenceblock.cpp
index 438fa7b222..a6e598100e 100644
--- a/engines/sword25/kernel/outputpersistenceblock.cpp
+++ b/engines/sword25/kernel/outputpersistenceblock.cpp
@@ -108,7 +108,7 @@ void OutputPersistenceBlock::write(const Common::String &String) {
void OutputPersistenceBlock::write(const void *BufferPtr, size_t Size) {
WriteMarker(BLOCK_MARKER);
- write(Size);
+ write((int) Size);
RawWrite(BufferPtr, Size);
}