aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/video/video_subtitler.cpp2
-rw-r--r--engines/wintermute/video/video_subtitler.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/video/video_subtitler.cpp b/engines/wintermute/video/video_subtitler.cpp
index c57a70ec3b..2117832fad 100644
--- a/engines/wintermute/video/video_subtitler.cpp
+++ b/engines/wintermute/video/video_subtitler.cpp
@@ -207,7 +207,7 @@ void VideoSubtitler::update(uint32 frame) {
return;
}
- if (frame != _lastSample) {
+ if ((int32)frame != _lastSample) {
/*
* If the frame count hasn't advanced the previous state still matches
* the current frame (obviously).
diff --git a/engines/wintermute/video/video_subtitler.h b/engines/wintermute/video/video_subtitler.h
index 32e4368daf..f2dcdf161e 100644
--- a/engines/wintermute/video/video_subtitler.h
+++ b/engines/wintermute/video/video_subtitler.h
@@ -47,7 +47,7 @@ public:
void update(uint32 frame);
private:
Common::Array<SubtitleCard *> _subtitles;
- uint32 _lastSample;
+ int32 _lastSample;
};
} // End of namespace Wintermute