From c6065d450ffbdf87bcdea4ae8828b6fd74fd217c Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 20 Dec 2004 22:54:20 +0000 Subject: cast fix, hopefully this helps PalmOS svn-id: r16201 --- gui/about.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- cgit v1.2.3