aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2015-02-15 20:49:16 +0200
committerFilippos Karapetis2015-02-15 20:49:16 +0200
commit60e83c2d9ca68e4dd90c0d644ac500b5f3be491e (patch)
treeb25b5696ba3c3b9512c1eacb74d5c9982fa19e23
parentf477de200916f68fe8e82025f80b13e8288f6589 (diff)
downloadscummvm-rg350-60e83c2d9ca68e4dd90c0d644ac500b5f3be491e.tar.gz
scummvm-rg350-60e83c2d9ca68e4dd90c0d644ac500b5f3be491e.tar.bz2
scummvm-rg350-60e83c2d9ca68e4dd90c0d644ac500b5f3be491e.zip
PEGASUS: Silence two MSVC warnings
-rw-r--r--engines/pegasus/menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/pegasus/menu.cpp b/engines/pegasus/menu.cpp
index 4bbda8fd93..3e9bf540fe 100644
--- a/engines/pegasus/menu.cpp
+++ b/engines/pegasus/menu.cpp
@@ -258,12 +258,12 @@ void MainMenu::handleInput(const Input &input, const Hotspot *cursorSpot) {
bool isDemo = vm->isDemo();
if (input.upButtonDown()) {
- if (_menuSelection > (isDemo ? kFirstSelectionDemo : kFirstSelection)) {
+ if (_menuSelection > (uint32)(isDemo ? kFirstSelectionDemo : kFirstSelection)) {
_menuSelection--;
updateDisplay();
}
} else if (input.downButtonDown()) {
- if (_menuSelection < (isDemo ? kLastSelectionDemo : kLastSelection)) {
+ if (_menuSelection < (uint32)(isDemo ? kLastSelectionDemo : kLastSelection)) {
_menuSelection++;
updateDisplay();
}