diff options
author | Filippos Karapetis | 2016-05-22 16:26:01 +0300 |
---|---|---|
committer | Filippos Karapetis | 2016-05-22 16:28:42 +0300 |
commit | 9375c7b2255e9bd322b9e5e8f99c64a6d8edab1a (patch) | |
tree | 8a513984cc0c438cfdc0b1104eb887fd9af8301b | |
parent | b966286b176f6b329e0658080a682b51f2c5c554 (diff) | |
download | scummvm-rg350-9375c7b2255e9bd322b9e5e8f99c64a6d8edab1a.tar.gz scummvm-rg350-9375c7b2255e9bd322b9e5e8f99c64a6d8edab1a.tar.bz2 scummvm-rg350-9375c7b2255e9bd322b9e5e8f99c64a6d8edab1a.zip |
UPDATES: Fix signed/unsigned warning
-rw-r--r-- | gui/updates-dialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/updates-dialog.cpp b/gui/updates-dialog.cpp index 960b3f397a..b82ecc0402 100644 --- a/gui/updates-dialog.cpp +++ b/gui/updates-dialog.cpp @@ -76,13 +76,13 @@ UpdatesDialog::UpdatesDialog() : Dialog(30, 20, 260, 124) { _y = (screenH - _h) / 2; // Each line is represented by one static text item. - int y = 10; - for (int i = 0; i < lines.size(); i++) { + uint y = 10; + for (uint i = 0; i < lines.size(); i++) { new StaticTextWidget(this, 10, y, maxlineWidth, kLineHeight, lines[i], Graphics::kTextAlignCenter); y += kLineHeight; } - for (int i = 0; i < lines2.size(); i++) { + for (uint i = 0; i < lines2.size(); i++) { new StaticTextWidget(this, 10, y, maxlineWidth2, kLineHeight, lines2[i], Graphics::kTextAlignCenter, 0, ThemeEngine::kFontStyleTooltip); y += kLineHeight; |