diff options
author | Eugene Sandulenko | 2016-08-04 23:18:27 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-08-04 23:18:27 +0200 |
commit | 7a79eec7eaa183412bcec0b1d89739603f9411b5 (patch) | |
tree | e738906521376c43469081aeecb0d8e0ca2adee5 /engines/director/lingo | |
parent | e52bdfd5ed2043f0bb5f4312d63bc53edf52d5a3 (diff) | |
download | scummvm-rg350-7a79eec7eaa183412bcec0b1d89739603f9411b5.tar.gz scummvm-rg350-7a79eec7eaa183412bcec0b1d89739603f9411b5.tar.bz2 scummvm-rg350-7a79eec7eaa183412bcec0b1d89739603f9411b5.zip |
DIRECTOR: Fix warnings
Diffstat (limited to 'engines/director/lingo')
-rw-r--r-- | engines/director/lingo/lingo-code.cpp | 4 | ||||
-rw-r--r-- | engines/director/lingo/lingo-codegen.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/director/lingo/lingo-code.cpp b/engines/director/lingo/lingo-code.cpp index b6388be118..05c10f6cc4 100644 --- a/engines/director/lingo/lingo-code.cpp +++ b/engines/director/lingo/lingo-code.cpp @@ -427,7 +427,7 @@ void Lingo::c_intersects() { Datum d2 = g_lingo->pop(); Datum d1 = g_lingo->pop(); - warning("STUB: c_intersects"); + warning("STUB: c_intersects: %d", d2.u.i); g_lingo->push(d1); } @@ -436,7 +436,7 @@ void Lingo::c_within() { Datum d2 = g_lingo->pop(); Datum d1 = g_lingo->pop(); - warning("STUB: c_within"); + warning("STUB: c_within: %d", d2.u.i); g_lingo->push(d1); } diff --git a/engines/director/lingo/lingo-codegen.cpp b/engines/director/lingo/lingo-codegen.cpp index 217ca562e4..8618463e42 100644 --- a/engines/director/lingo/lingo-codegen.cpp +++ b/engines/director/lingo/lingo-codegen.cpp @@ -54,10 +54,10 @@ namespace Director { void Lingo::execute(int pc) { for(_pc = pc; (*_currentScript)[_pc] != STOP && !_returning;) { - for (int i = 0; i < _stack.size(); i++) { + for (uint i = 0; i < _stack.size(); i++) { debugN(5, "%d ", _stack[i].u.i); } - debug(5, ""); + debug(5, "%s", ""); _pc++; (*((*_currentScript)[_pc - 1]))(); |