Small tweak to get rid of a warning on systems where type uint is not equal to uint32

svn-id: r16194
This commit is contained in:
Max Horn 2004-12-20 21:12:54 +00:00
parent 6011e30551
commit 023962d1e8

View File

@ -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++) {