[Scummvm-git-logs] scummvm master -> 3d6cdf3e7d8d6f37fe95753fbe79a700069c240a
digitall
547637+digitall at users.noreply.github.com
Sat Jun 19 15:03:31 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
3d6cdf3e7d TRECISION: Fix GCC Signed vs. Unsigned Comparison Warning
Commit: 3d6cdf3e7d8d6f37fe95753fbe79a700069c240a
https://github.com/scummvm/scummvm/commit/3d6cdf3e7d8d6f37fe95753fbe79a700069c240a
Author: D G Turner (digitall at scummvm.org)
Date: 2021-06-19T16:03:53+01:00
Commit Message:
TRECISION: Fix GCC Signed vs. Unsigned Comparison Warning
Changed paths:
engines/trecision/video.cpp
diff --git a/engines/trecision/video.cpp b/engines/trecision/video.cpp
index df77c739ec..d9bba5e07c 100644
--- a/engines/trecision/video.cpp
+++ b/engines/trecision/video.cpp
@@ -161,7 +161,7 @@ void AnimManager::playMovie(const Common::String &filename, int startFrame, int
// If the video has a single choice, and it starts from the beginning,
// ignore the calculated end frame and play all of it
- if (singleChoice && startFrame < 10 && endFrame < smkDecoder->getFrameCount() - 1)
+ if (singleChoice && startFrame < 10 && endFrame < (int)smkDecoder->getFrameCount() - 1)
endFrame = smkDecoder->getFrameCount() - 1;
setVideoRange(smkDecoder, startFrame, endFrame);
More information about the Scummvm-git-logs
mailing list