[Scummvm-git-logs] scummvm master -> ae7acf109992627e4627dabe1a25f815f8a7467b

digitall dgturner at iee.org
Fri May 3 01:44:55 CEST 2019


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:
ae7acf1099 GUI: Fix Compiler Warning in Unknown Game Dialog


Commit: ae7acf109992627e4627dabe1a25f815f8a7467b
    https://github.com/scummvm/scummvm/commit/ae7acf109992627e4627dabe1a25f815f8a7467b
Author: D G Turner (digitall at scummvm.org)
Date: 2019-05-03T00:43:03+01:00

Commit Message:
GUI: Fix Compiler Warning in Unknown Game Dialog

This is a signed vs. unsigned comparison warning from GCC.

Changed paths:
    gui/unknown-game-dialog.cpp


diff --git a/gui/unknown-game-dialog.cpp b/gui/unknown-game-dialog.cpp
index c6c6887..d967917 100644
--- a/gui/unknown-game-dialog.cpp
+++ b/gui/unknown-game-dialog.cpp
@@ -174,7 +174,7 @@ Common::String UnknownGameDialog::generateBugtrackerURL() {
 	// Remove the filesystem path from the bugtracker report.
 	// The path is on the first line between single quotes. We strip everything except the last level.
 	int path_start = -1, path_size = 0;
-	for (int i = 0 ; i < report.size() ; ++i) {
+	for (uint i = 0 ; i < report.size() ; ++i) {
 		char c = report[i];
 		if (c == '\'') {
 			if (path_start == -1)





More information about the Scummvm-git-logs mailing list