diff options
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) {
|