[Scummvm-cvs-logs] scummvm master -> 84c548dcbc85ec528f1c7543653e5f5495876295
eriktorbjorn
eriktorbjorn at telia.com
Sun Jun 14 22:56:06 CEST 2015
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
84c548dcbc SHERLOCK: Fix GCC signed/unsigned comparison warning
Commit: 84c548dcbc85ec528f1c7543653e5f5495876295
https://github.com/scummvm/scummvm/commit/84c548dcbc85ec528f1c7543653e5f5495876295
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2015-06-14T22:54:45+02:00
Commit Message:
SHERLOCK: Fix GCC signed/unsigned comparison warning
Changed paths:
engines/sherlock/scalpel/scalpel_talk.cpp
diff --git a/engines/sherlock/scalpel/scalpel_talk.cpp b/engines/sherlock/scalpel/scalpel_talk.cpp
index c86720f..64904e0 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;
More information about the Scummvm-git-logs
mailing list