[Scummvm-git-logs] scummvm master -> b767aa20105977f1603ebc4bae10d9ed0cde92d6
digitall
noreply at scummvm.org
Tue Nov 5 23:18:42 UTC 2024
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:
b767aa2010 SCI: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Commit: b767aa20105977f1603ebc4bae10d9ed0cde92d6
https://github.com/scummvm/scummvm/commit/b767aa20105977f1603ebc4bae10d9ed0cde92d6
Author: D G Turner (digitall at scummvm.org)
Date: 2024-11-05T23:18:11Z
Commit Message:
SCI: Fix Signed vs. Unsigned Comparison GCC Compiler Warning
Changed paths:
engines/sci/graphics/scifont.cpp
diff --git a/engines/sci/graphics/scifont.cpp b/engines/sci/graphics/scifont.cpp
index 15b405f7e4a..ca2e52ffb58 100644
--- a/engines/sci/graphics/scifont.cpp
+++ b/engines/sci/graphics/scifont.cpp
@@ -231,7 +231,7 @@ GfxFontFromResource::GfxFontFromResource(ResourceManager *resMan, GfxScreen *scr
// invalid offsets for character 127. SSCI only uses an offset when
// drawing, so it is unaffected as long as the character isn't used.
// Fixes LSL2/LSL3 Polish, SQ3 Spanish. Bug #10509
- if (!(_chars[i].offset + 2 <= _resourceData.size())) {
+ if (!(_chars[i].offset + 2 <= (int)_resourceData.size())) {
warning("%s glyph %d has invalid offset: %d, resource size: %d",
_resourceData.name().c_str(), i, _chars[i].offset, _resourceData.size());
More information about the Scummvm-git-logs
mailing list