diff options
author | Paweł Kołodziejski | 2006-01-05 20:54:53 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2006-01-05 20:54:53 +0000 |
commit | d397e7d96f81540457a00b8e909f89afa771d622 (patch) | |
tree | 888e13da8e88a12aa72a53c58aa6c8716317fa56 | |
parent | 3adee6125dfab45cfb667eebe3ab631e8dd49401 (diff) | |
download | scummvm-rg350-d397e7d96f81540457a00b8e909f89afa771d622.tar.gz scummvm-rg350-d397e7d96f81540457a00b8e909f89afa771d622.tar.bz2 scummvm-rg350-d397e7d96f81540457a00b8e909f89afa771d622.zip |
fixed warnings
svn-id: r19919
-rw-r--r-- | gob/inter_v1.cpp | 2 | ||||
-rw-r--r-- | scumm/resource.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gob/inter_v1.cpp b/gob/inter_v1.cpp index 7a3a1d5d32..2dde0d9078 100644 --- a/gob/inter_v1.cpp +++ b/gob/inter_v1.cpp @@ -1475,7 +1475,7 @@ bool Inter_v1::o1_call(char &cmdCount, int16 &counter, int16 &retFlag) { bool Inter_v1::o1_callBool(char &cmdCount, int16 &counter, int16 &retFlag) { byte cmd; - bool boolRes = evalBoolResult(); + bool boolRes = evalBoolResult() != 0; if (boolRes != 0) { if (counter == cmdCount && retFlag == 2) diff --git a/scumm/resource.cpp b/scumm/resource.cpp index 63deb1b520..82cb649bfa 100644 --- a/scumm/resource.cpp +++ b/scumm/resource.cpp @@ -1006,7 +1006,7 @@ bool ScummEngine::isResourceInUse(int type, int i) const { case rtCharset: return _charset->getCurID() == i; case rtSpoolBuffer: - return _sound->isSoundRunning(10000 + i); + return _sound->isSoundRunning(10000 + i) != 0; default: return false; } |