mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 20:17:49 +00:00
TRECISION: Fix GCC Signed vs. Unsigned Comparison Warning
This commit is contained in:
parent
beb0a88120
commit
3d6cdf3e7d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user