aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2015-06-14 22:54:45 +0200
committerTorbjörn Andersson2015-06-14 22:54:45 +0200
commit84c548dcbc85ec528f1c7543653e5f5495876295 (patch)
tree47b94f8db45cf3b34346a4442abb441e2c45ec8d
parent8ed2e75256a3bdf1b11a3d6296da3f1346a689a9 (diff)
downloadscummvm-rg350-84c548dcbc85ec528f1c7543653e5f5495876295.tar.gz
scummvm-rg350-84c548dcbc85ec528f1c7543653e5f5495876295.tar.bz2
scummvm-rg350-84c548dcbc85ec528f1c7543653e5f5495876295.zip
SHERLOCK: Fix GCC signed/unsigned comparison warning
-rw-r--r--engines/sherlock/scalpel/scalpel_talk.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/scalpel/scalpel_talk.cpp b/engines/sherlock/scalpel/scalpel_talk.cpp
index c86720f778..64904e0a46 100644
--- a/engines/sherlock/scalpel/scalpel_talk.cpp
+++ b/engines/sherlock/scalpel/scalpel_talk.cpp
@@ -162,7 +162,7 @@ ScalpelTalk::ScalpelTalk(SherlockEngine *vm) : Talk(vm) {
if (vm->getLanguage() == Common::DE_DEU || vm->getLanguage() == Common::ES_ESP) {
// The German and Spanish versions use a different opcode range
static byte opcodes[sizeof(SCALPEL_OPCODES)];
- for (int idx = 0; idx < sizeof(SCALPEL_OPCODES); ++idx)
+ for (uint idx = 0; idx < sizeof(SCALPEL_OPCODES); ++idx)
opcodes[idx] = SCALPEL_OPCODES[idx] ? SCALPEL_OPCODES[idx] + 47 : 0;
_opcodes = opcodes;