[Scummvm-git-logs] scummvm master -> 3f5ac3532fca9cb01a4ab21617f35e0111849138
digitall
547637+digitall at users.noreply.github.com
Sat Sep 25 18:33:59 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
3f5ac3532f ASYLUM: Fix GCC Compiler Warnings
Commit: 3f5ac3532fca9cb01a4ab21617f35e0111849138
https://github.com/scummvm/scummvm/commit/3f5ac3532fca9cb01a4ab21617f35e0111849138
Author: D G Turner (digitall at scummvm.org)
Date: 2021-09-25T19:33:38+01:00
Commit Message:
ASYLUM: Fix GCC Compiler Warnings
Changed paths:
engines/asylum/console.cpp
diff --git a/engines/asylum/console.cpp b/engines/asylum/console.cpp
index 5f42c88774..de26eeb255 100644
--- a/engines/asylum/console.cpp
+++ b/engines/asylum/console.cpp
@@ -810,7 +810,7 @@ bool Console::cmdRunEncounter(int argc, const char **argv) {
}
// Check if index is valid
- uint index = atoi(argv[1]);
+ int index = atoi(argv[1]);
if (argc > 2)
subIndex = atoi(argv[2]);
@@ -822,7 +822,7 @@ bool Console::cmdRunEncounter(int argc, const char **argv) {
if (i == -1)
break;
- if (i == index && subIndex == data->subIndex)
+ if (i == index && subIndex == (int)data->subIndex)
break;
j++;
More information about the Scummvm-git-logs
mailing list