From 84c548dcbc85ec528f1c7543653e5f5495876295 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Sun, 14 Jun 2015 22:54:45 +0200 Subject: SHERLOCK: Fix GCC signed/unsigned comparison warning --- engines/sherlock/scalpel/scalpel_talk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3