aboutsummaryrefslogtreecommitdiff
path: root/engines/tony/mpal/mpal.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2012-05-13 00:53:09 +1000
committerPaul Gilbert2012-05-13 00:53:09 +1000
commit63e3b47857fe5a507858b4256b1f3f4d7fe50c22 (patch)
treeeacd48bdf4995fe66ae4ebde110a241326d6f4d1 /engines/tony/mpal/mpal.cpp
parentef4846c1218b0709a71ffb5feafebebd26988a4d (diff)
downloadscummvm-rg350-63e3b47857fe5a507858b4256b1f3f4d7fe50c22.tar.gz
scummvm-rg350-63e3b47857fe5a507858b4256b1f3f4d7fe50c22.tar.bz2
scummvm-rg350-63e3b47857fe5a507858b4256b1f3f4d7fe50c22.zip
TONY: Fix compiler warnings
Diffstat (limited to 'engines/tony/mpal/mpal.cpp')
-rw-r--r--engines/tony/mpal/mpal.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tony/mpal/mpal.cpp b/engines/tony/mpal/mpal.cpp
index d28fd8e8e2..bfde7fe2a6 100644
--- a/engines/tony/mpal/mpal.cpp
+++ b/engines/tony/mpal/mpal.cpp
@@ -1618,10 +1618,10 @@ static uint32 DoAction(uint32 nAction, uint32 ordItem, uint32 dwParam) {
// 0 dell'item, e poi liberera' la memoria con la GlobalFree()
// !!! New thread management
- if ((h = CoroScheduler.createProcess(ActionThread, &newitem, sizeof(LPMPALITEM))) == NULL)
+ if ((h = CoroScheduler.createProcess(ActionThread, &newitem, sizeof(LPMPALITEM))) == CORO_INVALID_PID_VALUE)
return CORO_INVALID_PID_VALUE;
- if (CoroScheduler.createProcess(ShutUpActionThread, &h, sizeof(uint32)) == NULL)
+ if (CoroScheduler.createProcess(ShutUpActionThread, &h, sizeof(uint32)) == CORO_INVALID_PID_VALUE)
return CORO_INVALID_PID_VALUE;
nExecutingAction = item->nObj;