aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/mactext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/macgui/mactext.cpp')
-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;