From ae7acf109992627e4627dabe1a25f815f8a7467b Mon Sep 17 00:00:00 2001 From: D G Turner Date: Fri, 3 May 2019 00:43:03 +0100 Subject: GUI: Fix Compiler Warning in Unknown Game Dialog This is a signed vs. unsigned comparison warning from GCC. --- gui/unknown-game-dialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui') diff --git a/gui/unknown-game-dialog.cpp b/gui/unknown-game-dialog.cpp index c6c6887a43..d96791742e 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) -- cgit v1.2.3