[Scummvm-git-logs] scummvm master -> fd225f2250122934fa7174b157b2203891b52638
bluegr
bluegr at gmail.com
Sun Apr 11 20:15:36 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:
fd225f2250 GUI: Fix GCC warning
Commit: fd225f2250122934fa7174b157b2203891b52638
https://github.com/scummvm/scummvm/commit/fd225f2250122934fa7174b157b2203891b52638
Author: Orgad Shaneh (orgads at gmail.com)
Date: 2021-04-11T23:15:34+03:00
Commit Message:
GUI: Fix GCC warning
Signed/unsigned comparison.
Changed paths:
gui/gui-manager.cpp
diff --git a/gui/gui-manager.cpp b/gui/gui-manager.cpp
index 4ebda83f58..7bf71c2d9f 100644
--- a/gui/gui-manager.cpp
+++ b/gui/gui-manager.cpp
@@ -108,8 +108,8 @@ GuiManager::~GuiManager() {
}
void GuiManager::computeScaleFactor() {
- int16 w = g_system->getOverlayWidth();
- int16 h = g_system->getOverlayHeight();
+ uint16 w = g_system->getOverlayWidth();
+ uint16 h = g_system->getOverlayHeight();
uint scale = g_system->getFeatureState(OSystem::kFeatureHiDPI) ? 2 : 1;
// Hardcoding for now
More information about the Scummvm-git-logs
mailing list