[Scummvm-git-logs] scummvm master -> 52beeb7dbd7953e9e16b5b0c6d8d3bb1c97acc2d

digitall 547637+digitall at users.noreply.github.com
Fri Mar 12 20:48:04 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:
52beeb7dbd GUI: Fix GCC Signed vs. Unsigned Compiler Warning in Launcher


Commit: 52beeb7dbd7953e9e16b5b0c6d8d3bb1c97acc2d
    https://github.com/scummvm/scummvm/commit/52beeb7dbd7953e9e16b5b0c6d8d3bb1c97acc2d
Author: D G Turner (digitall at scummvm.org)
Date: 2021-03-12T20:47:23Z

Commit Message:
GUI: Fix GCC Signed vs. Unsigned Compiler Warning in Launcher

Changed paths:
    gui/launcher.cpp


diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index 3105c60461..6345c14231 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -278,7 +278,7 @@ void LauncherDialog::updateListing() {
 	// Retrieve a list of all games defined in the config file
 	_domains.clear();
 	const ConfigManager::DomainMap &domains = ConfMan.getGameDomains();
-	bool scanEntries = numEntries == -1 ? true : (domains.size() <= numEntries);
+	bool scanEntries = numEntries == -1 ? true : ((int)domains.size() <= numEntries);
 
 	// Turn it into a list of pointers
 	Common::List<LauncherEntry> domainList;




More information about the Scummvm-git-logs mailing list