mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
SDL: Silence signed/unsigned warning
This commit is contained in:
parent
20a9d03cee
commit
8ba69ec278
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user