mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-04 09:18:38 +00:00
DIRECTOR: fix comparison int/uint warning
This commit is contained in:
parent
101300a8a3
commit
744400a4a7
@ -1493,7 +1493,7 @@ void LB::b_xtra(int nargs) {
|
||||
Datum d = g_lingo->pop();
|
||||
if (d.type == INT) {
|
||||
int i = d.asInt() -1; // Lingo index for XTRAs start at 1
|
||||
if (i >=0 && i < g_lingo->_openXtras.size()) {
|
||||
if (i >=0 && (uint)i < g_lingo->_openXtras.size()) {
|
||||
Datum var = g_lingo->_globalvars[g_lingo->_openXtras[i]];
|
||||
g_lingo->push(var);
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user