From befa99ca7761370e9f11c425b459d410d371723f Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 29 Sep 2013 03:21:55 +0100 Subject: SWORD25: Some more fixes for Amiga OS 4 compilation. --- engines/sword25/gfx/renderobject.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/sword25/gfx') 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); -- cgit v1.2.3