aboutsummaryrefslogtreecommitdiff
path: root/engines/director/lingo
diff options
context:
space:
mode:
authorD G Turner2019-12-23 10:29:30 +0000
committerD G Turner2019-12-23 10:29:30 +0000
commitd5808d2903e2cc2a04e8545b84f1528230a9b010 (patch)
treef6f583a6eeb552d39b62ce44fd0566f3efbd17e3 /engines/director/lingo
parente943f8c291d1089b095082b3d684ab6e14c637bd (diff)
downloadscummvm-rg350-d5808d2903e2cc2a04e8545b84f1528230a9b010.tar.gz
scummvm-rg350-d5808d2903e2cc2a04e8545b84f1528230a9b010.tar.bz2
scummvm-rg350-d5808d2903e2cc2a04e8545b84f1528230a9b010.zip
DIRECTOR: Fix Signed vs. Unsigned Compiler Warnings
Diffstat (limited to 'engines/director/lingo')
-rw-r--r--engines/director/lingo/lingo-codegen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo-codegen.cpp b/engines/director/lingo/lingo-codegen.cpp
index 44ce2d070d..36ae67e517 100644
--- a/engines/director/lingo/lingo-codegen.cpp
+++ b/engines/director/lingo/lingo-codegen.cpp
@@ -326,7 +326,7 @@ int Lingo::codeArray(int arraySize) {
}
bool Lingo::isInArgStack(Common::String *s) {
- for (int i = 0; i < _argstack.size(); i++)
+ for (uint i = 0; i < _argstack.size(); i++)
if (_argstack[i]->equalsIgnoreCase(*s))
return true;
@@ -338,7 +338,7 @@ void Lingo::codeArg(Common::String *s) {
}
void Lingo::clearArgStack() {
- for (int i = 0; i < _argstack.size(); i++)
+ for (uint i = 0; i < _argstack.size(); i++)
delete _argstack[i];
_argstack.clear();