[Scummvm-git-logs] scummvm master -> 8ba69ec27815dcf077b111e7aae32e622354babb
eriktorbjorn
eriktorbjorn at telia.com
Thu Sep 9 05:20:19 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:
8ba69ec278 SDL: Silence signed/unsigned warning
Commit: 8ba69ec27815dcf077b111e7aae32e622354babb
https://github.com/scummvm/scummvm/commit/8ba69ec27815dcf077b111e7aae32e622354babb
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-09-09T07:20:04+02:00
Commit Message:
SDL: Silence signed/unsigned warning
Changed paths:
backends/graphics/surfacesdl/surfacesdl-graphics.cpp
diff --git a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
index df5750ec3c..af1a7475d7 100644
--- a/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
+++ b/backends/graphics/surfacesdl/surfacesdl-graphics.cpp
@@ -732,7 +732,7 @@ void SurfaceSdlGraphicsManager::initSize(uint w, uint h, const Graphics::PixelFo
// assumed to be available at any reasonable factor,
// and is - of course -the only one that has a 1x mode.
const Common::Array<uint> &factors = _scalerPlugins[mode]->get<ScalerPluginObject>().getFactors();
- if (Common::find(factors.begin(), factors.end(), scaleFactor) == factors.end()) {
+ if (Common::find(factors.begin(), factors.end(), (uint)scaleFactor) == factors.end()) {
mode = ScalerMan.findScalerPluginIndex("normal");
}
}
More information about the Scummvm-git-logs
mailing list