From 8ae904e15448f863006c47d1ffdee9df1adeeb58 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Tue, 10 Jan 2017 03:13:08 +0000 Subject: GRAPHICS: Correct Unsigned vs. Signed Comparison Compiler Warning. --- graphics/macgui/mactext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp index 06354457f2..abf1e4fc38 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; -- cgit v1.2.3