aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2004-12-20 22:54:20 +0000
committerMax Horn2004-12-20 22:54:20 +0000
commitc6065d450ffbdf87bcdea4ae8828b6fd74fd217c (patch)
tree2e5a7efd2dd92a8113f36b972ee62d8756d82e4d /gui
parent179e70ea9ced29b07130651a37ebad0b318e5aff (diff)
downloadscummvm-rg350-c6065d450ffbdf87bcdea4ae8828b6fd74fd217c.tar.gz
scummvm-rg350-c6065d450ffbdf87bcdea4ae8828b6fd74fd217c.tar.bz2
scummvm-rg350-c6065d450ffbdf87bcdea4ae8828b6fd74fd217c.zip
cast fix, hopefully this helps PalmOS
svn-id: r16201
Diffstat (limited to 'gui')
-rw-r--r--gui/about.cpp2
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++) {