aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/macgui/mactextwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/macgui/mactextwindow.cpp b/graphics/macgui/mactextwindow.cpp
index 0ea311aa28..4edc924c02 100644
--- a/graphics/macgui/mactextwindow.cpp
+++ b/graphics/macgui/mactextwindow.cpp
@@ -448,7 +448,7 @@ void MacTextWindow::drawInput() {
// Now recalc new text height
_fontRef->wordWrapText(_inputText, _maxWidth, text);
- _inputTextHeight = MAX(1u, text.size()); // We always have line to clean
+ _inputTextHeight = MAX((uint)1, text.size()); // We always have line to clean
// And add new input line to the text
appendText(_inputText, _font, true);