From 9f94a2fa8c492b83e837621890b053633bc35532 Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Tue, 8 Apr 2008 09:59:41 +0000 Subject: [PATCH] Fix compilation on my 64-bit system... svn-id: r31450 --- engines/cine/anim.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/cine/anim.cpp b/engines/cine/anim.cpp index 0d1bd20e7aa..71e1b84918f 100644 --- a/engines/cine/anim.cpp +++ b/engines/cine/anim.cpp @@ -383,8 +383,8 @@ void AnimData::save(Common::OutSaveFile &fHandle) const { fHandle.writeUint16BE(_height); // Just because I write pointers to a file doesn't mean // anyone should actually read those values back! - fHandle.writeUint32BE((uint32)_data); - fHandle.writeUint32BE((uint32)_mask); + fHandle.writeUint32BE((uint32)(long)_data); + fHandle.writeUint32BE((uint32)(long)_mask); fHandle.writeUint16BE(_fileIdx); fHandle.writeUint16BE(_frameIdx); fHandle.write(_name, 10);