[Scummvm-git-logs] scummvm master -> 578555ab1a52fd91e7e1d0b304f90eba62a0c1b7

digitall 547637+digitall at users.noreply.github.com
Sun Apr 18 00:29:25 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:
578555ab1a GUI: Fix GCC Compiler Warning


Commit: 578555ab1a52fd91e7e1d0b304f90eba62a0c1b7
    https://github.com/scummvm/scummvm/commit/578555ab1a52fd91e7e1d0b304f90eba62a0c1b7
Author: D G Turner (digitall at scummvm.org)
Date: 2021-04-18T01:29:18+01:00

Commit Message:
GUI: Fix GCC Compiler Warning

Changed paths:
    gui/options.cpp


diff --git a/gui/options.cpp b/gui/options.cpp
index cf611f48db..a84346fc78 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -2375,7 +2375,7 @@ void GlobalOptionsDialog::apply() {
 
 	int oldGuiBase = ConfMan.getInt("gui_base");
 	ConfMan.setInt("gui_base", _guiBasePopUp->getSelectedTag(), _domain);
-	if (oldGuiBase != _guiBasePopUp->getSelectedTag())
+	if (oldGuiBase != (int)_guiBasePopUp->getSelectedTag())
 		g_gui.computeScaleFactor();
 
 	ConfMan.setInt("autosave_period", _autosavePeriodPopUp->getSelectedTag(), _domain);




More information about the Scummvm-git-logs mailing list