aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2013-09-29 03:21:55 +0100
committerD G Turner2013-09-29 03:21:55 +0100
commitbefa99ca7761370e9f11c425b459d410d371723f (patch)
tree7430cf7ead457fd8f2c67aa6a0a5c61958ebf069
parent7e62442376be966369008bfb8c4f1b66786177e7 (diff)
downloadscummvm-rg350-befa99ca7761370e9f11c425b459d410d371723f.tar.gz
scummvm-rg350-befa99ca7761370e9f11c425b459d410d371723f.tar.bz2
scummvm-rg350-befa99ca7761370e9f11c425b459d410d371723f.zip
SWORD25: Some more fixes for Amiga OS 4 compilation.
-rw-r--r--engines/sword25/gfx/renderobject.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sword25/gfx/renderobject.cpp b/engines/sword25/gfx/renderobject.cpp
index af12f61413..e9e11aae4e 100644
--- a/engines/sword25/gfx/renderobject.cpp
+++ b/engines/sword25/gfx/renderobject.cpp
@@ -413,10 +413,10 @@ bool RenderObject::persist(OutputPersistenceBlock &writer) {
writer.write(_visible);
writer.write(_childChanged);
writer.write(_initSuccess);
- writer.write(_bbox.left);
- writer.write(_bbox.top);
- writer.write(_bbox.right);
- writer.write(_bbox.bottom);
+ writer.write((int32)_bbox.left);
+ writer.write((int32)_bbox.top);
+ writer.write((int32)_bbox.right);
+ writer.write((int32)_bbox.bottom);
writer.write((int32)_oldBbox.left);
writer.write((int32)_oldBbox.top);
writer.write((int32)_oldBbox.right);