mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 01:39:57 +00:00
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:
parent
6011e30551
commit
023962d1e8
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user