[Scummvm-git-logs] scummvm master -> 140557e150d9a671a2d56343307b4291da54b8b9
digitall
547637+digitall at users.noreply.github.com
Thu Sep 30 21:16:51 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:
140557e150 ASYLUM: Fix GCC Compiler Warning
Commit: 140557e150d9a671a2d56343307b4291da54b8b9
https://github.com/scummvm/scummvm/commit/140557e150d9a671a2d56343307b4291da54b8b9
Author: D G Turner (digitall at scummvm.org)
Date: 2021-09-30T22:16:06+01:00
Commit Message:
ASYLUM: Fix GCC Compiler Warning
Changed paths:
engines/asylum/views/resviewer.cpp
diff --git a/engines/asylum/views/resviewer.cpp b/engines/asylum/views/resviewer.cpp
index 28962402e3..0b79b7e3e9 100644
--- a/engines/asylum/views/resviewer.cpp
+++ b/engines/asylum/views/resviewer.cpp
@@ -126,7 +126,7 @@ void ResourceViewer::update() {
getScreen()->copyBackBufferToScreen();
if (_frameCount > 1 && _animate) {
- if (_frameIndex + 1 >= _frameCount)
+ if (_frameIndex + 1 >= (int)_frameCount)
_frameIncrement = -1;
else if (_frameIndex == 0)
_frameIncrement = 1;
More information about the Scummvm-git-logs
mailing list