aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
diff options
context:
space:
mode:
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);