diff options
author | Einar Johan Trøan Sømåen | 2012-07-09 02:50:15 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-09 02:50:15 +0200 |
commit | 5224ebef2c8013bc9ff5cc6f9bdefbcf635b456c (patch) | |
tree | ba1c7248ce50a7ce6c9b00f566d3df21f713d712 /engines/wintermute/Base/scriptables/ScStack.cpp | |
parent | 0273e495e1495d6abbcac4dde4cfa7e6ca2c29d7 (diff) | |
download | scummvm-rg350-5224ebef2c8013bc9ff5cc6f9bdefbcf635b456c.tar.gz scummvm-rg350-5224ebef2c8013bc9ff5cc6f9bdefbcf635b456c.tar.bz2 scummvm-rg350-5224ebef2c8013bc9ff5cc6f9bdefbcf635b456c.zip |
WINTERMUTE: Silence most warnings
Diffstat (limited to 'engines/wintermute/Base/scriptables/ScStack.cpp')
-rw-r--r-- | engines/wintermute/Base/scriptables/ScStack.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/Base/scriptables/ScStack.cpp b/engines/wintermute/Base/scriptables/ScStack.cpp index 498a8472cc..38efd393ad 100644 --- a/engines/wintermute/Base/scriptables/ScStack.cpp +++ b/engines/wintermute/Base/scriptables/ScStack.cpp @@ -111,7 +111,7 @@ CScValue *CScStack::getAt(int index) { //////////////////////////////////////////////////////////////////////////
void CScStack::correctParams(uint32 expectedParams) {
- int nuParams = pop()->getInt();
+ uint32 nuParams = (uint32)pop()->getInt();
if (expectedParams < nuParams) { // too many params
while (expectedParams < nuParams) {
|