aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);
}