diff options
| author | Max Horn | 2004-12-20 21:12:54 +0000 |
|---|---|---|
| committer | Max Horn | 2004-12-20 21:12:54 +0000 |
| commit | 023962d1e80b34ccf9fd43fa1e1aaa3425065737 (patch) | |
| tree | 3c43dcb82b3a8270e93fc3387c4e77ee42dab34a | |
| parent | 6011e305516d7b3fdeed5cc96ffcbcc6dace3dea (diff) | |
| download | scummvm-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.cpp | 2 |
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++) { |
