aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/video/video_subtitle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/video/video_subtitle.cpp')
-rw-r--r--engines/wintermute/video/video_subtitle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/wintermute/video/video_subtitle.cpp b/engines/wintermute/video/video_subtitle.cpp
index c9892b59a4..eb95f25944 100644
--- a/engines/wintermute/video/video_subtitle.cpp
+++ b/engines/wintermute/video/video_subtitle.cpp
@@ -34,7 +34,7 @@ VideoSubtitle::VideoSubtitle(BaseGame *inGame): BaseClass(inGame) {
_startFrame = _endFrame = 0;
}
-VideoSubtitle::VideoSubtitle(BaseGame *inGame, const Common::String &text, const long &startFrame, const long &endFrame): BaseClass(inGame) {
+VideoSubtitle::VideoSubtitle(BaseGame *inGame, const Common::String &text, const uint &startFrame, const uint &endFrame): BaseClass(inGame) {
// TODO: Fix expandStringByStringTable instead of this ugly hack
char *tmp = new char[text.size()];
strcpy(tmp, text.c_str());
@@ -44,11 +44,11 @@ VideoSubtitle::VideoSubtitle(BaseGame *inGame, const Common::String &text, const
_endFrame = endFrame;
}
-long VideoSubtitle::getStartFrame() {
+uint VideoSubtitle::getStartFrame() {
return _startFrame;
}
-long VideoSubtitle::getEndFrame() {
+uint VideoSubtitle::getEndFrame() {
return _endFrame;
}