[Scummvm-git-logs] scummvm master -> 1dbf68920f668daf01f998bcca900884a6613485

digitall 547637+digitall at users.noreply.github.com
Mon Jun 14 21:25:45 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:
1dbf68920f WINTERMUTE: Fix GCC Signed vs. Unsigned Comparison Warnings


Commit: 1dbf68920f668daf01f998bcca900884a6613485
    https://github.com/scummvm/scummvm/commit/1dbf68920f668daf01f998bcca900884a6613485
Author: D G Turner (digitall at scummvm.org)
Date: 2021-06-14T22:25:53+01:00

Commit Message:
WINTERMUTE: Fix GCC Signed vs. Unsigned Comparison Warnings

Changed paths:
    engines/wintermute/ad/ad_object.cpp


diff --git a/engines/wintermute/ad/ad_object.cpp b/engines/wintermute/ad/ad_object.cpp
index 207d7ec301..0a8fce906c 100644
--- a/engines/wintermute/ad/ad_object.cpp
+++ b/engines/wintermute/ad/ad_object.cpp
@@ -860,7 +860,7 @@ bool AdObject::setFont(const char *filename) {
 
 //////////////////////////////////////////////////////////////////////////
 int32 AdObject::getHeight() {
-	if (!_currentSprite || _currentSprite->_frames.size() <= _currentSprite->_currentFrame) {
+	if (!_currentSprite || (int32)_currentSprite->_frames.size() <= _currentSprite->_currentFrame) {
 		return 0;
 	} else {
 		BaseFrame *frame = _currentSprite->_frames[_currentSprite->_currentFrame];




More information about the Scummvm-git-logs mailing list