aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
diff options
context:
space:
mode:
authorSven Hesse2008-04-08 09:59:41 +0000
committerSven Hesse2008-04-08 09:59:41 +0000
commit9f94a2fa8c492b83e837621890b053633bc35532 (patch)
treed651c5c561953aa51bf347e6a0636f9b127eae1e /engines/cine
parent9a0825cc068a3c4bbe4e4d67c26312ff9c6cc532 (diff)
downloadscummvm-rg350-9f94a2fa8c492b83e837621890b053633bc35532.tar.gz
scummvm-rg350-9f94a2fa8c492b83e837621890b053633bc35532.tar.bz2
scummvm-rg350-9f94a2fa8c492b83e837621890b053633bc35532.zip
Fix compilation on my 64-bit system...
svn-id: r31450
Diffstat (limited to 'engines/cine')
-rw-r--r--engines/cine/anim.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cine/anim.cpp b/engines/cine/anim.cpp
index 0d1bd20e7a..71e1b84918 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);