[Scummvm-git-logs] scummvm master -> ffee7f7aa8651efe5d41fa4ce1b7f3451071ee61
digitall
noreply at scummvm.org
Mon Nov 22 18:55:29 UTC 2021
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:
ffee7f7aa8 HYPNO: Fix GCC Compiler Signed vs. Unsigned Warnings
Commit: ffee7f7aa8651efe5d41fa4ce1b7f3451071ee61
https://github.com/scummvm/scummvm/commit/ffee7f7aa8651efe5d41fa4ce1b7f3451071ee61
Author: D G Turner (digitall at scummvm.org)
Date: 2021-11-22T18:54:42Z
Commit Message:
HYPNO: Fix GCC Compiler Signed vs. Unsigned Warnings
Changed paths:
engines/hypno/spider/spider.cpp
diff --git a/engines/hypno/spider/spider.cpp b/engines/hypno/spider/spider.cpp
index b7830e71fa..9c6fd318ec 100644
--- a/engines/hypno/spider/spider.cpp
+++ b/engines/hypno/spider/spider.cpp
@@ -482,7 +482,7 @@ void SpiderEngine::runNote(Code *code) {
defaultCursor();
Common::String alpha;
Common::String selected = " ";
- char *firstSentence;
+ char *firstSentence;
char *secondSentence;
Common::String firstSolution;
Common::String secondSolution;
@@ -584,7 +584,7 @@ void SpiderEngine::runNote(Code *code) {
}
}
- for (int i = 0; i < strlen(firstSentence); i++) {
+ for (uint i = 0; i < strlen(firstSentence); i++) {
if (firstSentence[i] != '?' && firstSentence[i] != ' ') {
if (firstSentence[i] == '~')
drawImage(*letters[26], o1x, o1y, false); // ñ
@@ -595,7 +595,7 @@ void SpiderEngine::runNote(Code *code) {
o1x = o1x + size.x;
}
- for (int i = 0; i < strlen(secondSentence); i++) {
+ for (uint i = 0; i < strlen(secondSentence); i++) {
if (secondSentence[i] != '?' && secondSentence[i] != ' ') {
if (secondSentence[i] == '~')
drawImage(*letters[26], o2x, o2y, false); // ñ
More information about the Scummvm-git-logs
mailing list