[Scummvm-git-logs] scummvm master -> 8ae904e15448f863006c47d1ffdee9df1adeeb58
digitall
dgturner at iee.org
Tue Jan 10 04:06:50 CET 2017
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:
8ae904e154 GRAPHICS: Correct Unsigned vs. Signed Comparison Compiler Warning.
Commit: 8ae904e15448f863006c47d1ffdee9df1adeeb58
https://github.com/scummvm/scummvm/commit/8ae904e15448f863006c47d1ffdee9df1adeeb58
Author: D G Turner (digitall at scummvm.org)
Date: 2017-01-10T03:13:08Z
Commit Message:
GRAPHICS: Correct Unsigned vs. Signed Comparison Compiler Warning.
Changed paths:
graphics/macgui/mactext.cpp
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index 0635445..abf1e4f 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -116,7 +116,7 @@ void MacText::render(int from, int to) {
// Clear the screen
_surface->fillRect(Common::Rect(0, y, _surface->w, to * lineH), _bgcolor);
- for (uint i = from; i < to; i++) {
+ for (int i = from; i < to; i++) {
_font->drawString(_surface, _text[i], 0, y, _textMaxWidth, _fgcolor);
y += _font->getFontHeight() + _interLinear;
More information about the Scummvm-git-logs
mailing list