aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2017-01-10 03:13:08 +0000
committerD G Turner2017-01-10 03:13:08 +0000
commit8ae904e15448f863006c47d1ffdee9df1adeeb58 (patch)
tree4d387e5942ccc7b801a17444aa7077b614d82669
parentf1ca9ccc6426a46a7da47bf4a36301bd849bf978 (diff)
downloadscummvm-rg350-8ae904e15448f863006c47d1ffdee9df1adeeb58.tar.gz
scummvm-rg350-8ae904e15448f863006c47d1ffdee9df1adeeb58.tar.bz2
scummvm-rg350-8ae904e15448f863006c47d1ffdee9df1adeeb58.zip
GRAPHICS: Correct Unsigned vs. Signed Comparison Compiler Warning.
-rw-r--r--graphics/macgui/mactext.cpp2
1 files changed, 1 insertions, 1 deletions
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;