aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2004-12-20 21:12:54 +0000
committerMax Horn2004-12-20 21:12:54 +0000
commit023962d1e80b34ccf9fd43fa1e1aaa3425065737 (patch)
tree3c43dcb82b3a8270e93fc3387c4e77ee42dab34a
parent6011e305516d7b3fdeed5cc96ffcbcc6dace3dea (diff)
downloadscummvm-rg350-023962d1e80b34ccf9fd43fa1e1aaa3425065737.tar.gz
scummvm-rg350-023962d1e80b34ccf9fd43fa1e1aaa3425065737.tar.bz2
scummvm-rg350-023962d1e80b34ccf9fd43fa1e1aaa3425065737.zip
Small tweak to get rid of a warning on systems where type uint is not equal to uint32
svn-id: r16194
-rw-r--r--gui/about.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/about.cpp b/gui/about.cpp
index 8e9b16ef9b..694c2f97fb 100644
--- a/gui/about.cpp
+++ b/gui/about.cpp
@@ -236,7 +236,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((_scrollPos + _h) / _lineHeight + 1, _lines.size());
+ const int lastLine = MIN((uint)(_scrollPos + _h) / _lineHeight + 1, _lines.size());
int y = _y + kYOff - (_scrollPos % _lineHeight);
for (int line = firstLine; line < lastLine; line++) {