[Scummvm-git-logs] scummvm master -> 9f79f3b9addd7913f589c190f7bbb9e9b1fbfd9e

digitall 547637+digitall at users.noreply.github.com
Thu Mar 18 05:02:49 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:
9f79f3b9ad GLK: HUGO: Fix GCC Compiler Warning


Commit: 9f79f3b9addd7913f589c190f7bbb9e9b1fbfd9e
    https://github.com/scummvm/scummvm/commit/9f79f3b9addd7913f589c190f7bbb9e9b1fbfd9e
Author: D G Turner (digitall at scummvm.org)
Date: 2021-03-18T05:02:26Z

Commit Message:
GLK: HUGO: Fix GCC Compiler Warning

Changed paths:
    engines/glk/hugo/resource_archive.cpp


diff --git a/engines/glk/hugo/resource_archive.cpp b/engines/glk/hugo/resource_archive.cpp
index 74f6a41f41..2a23f9645d 100644
--- a/engines/glk/hugo/resource_archive.cpp
+++ b/engines/glk/hugo/resource_archive.cpp
@@ -30,7 +30,7 @@ namespace Hugo {
 
 bool ResourceArchive::splitName(const Common::String &name,
 		Common::String &filename, Common::String &resName) {
-	int commaIndex = name.findFirstOf(',');
+	size_t commaIndex = name.findFirstOf(',');
 	if (commaIndex == Common::String::npos)
 		return false;
 




More information about the Scummvm-git-logs mailing list