diff options
-rw-r--r-- | gui/about.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/about.cpp b/gui/about.cpp index c0a430888b..8b8cb4ac98 100644 --- a/gui/about.cpp +++ b/gui/about.cpp @@ -238,7 +238,7 @@ void AboutDialog::drawDialog() { // Draw text // TODO: Add a "fade" effect for the top/bottom text lines const int firstLine = _scrollPos / _lineHeight; - const int lastLine = MIN((uint)(_scrollPos + _h) / _lineHeight + 1, _lines.size()); + const int lastLine = MIN((_scrollPos + _h) / _lineHeight + 1, (uint32)_lines.size()); int y = _y + kYOff - (_scrollPos % _lineHeight); for (int line = firstLine; line < lastLine; line++) { |