mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
(Windows) Fixed an MSVC compiler warning.
This commit is contained in:
parent
6035884020
commit
dd89d241f5
|
@ -786,7 +786,7 @@ void ThemeData::populateThemeSets()
|
||||||
if (!capabilities.legacyTheme) {
|
if (!capabilities.legacyTheme) {
|
||||||
int aspectRatios {0};
|
int aspectRatios {0};
|
||||||
if (capabilities.aspectRatios.size() > 0)
|
if (capabilities.aspectRatios.size() > 0)
|
||||||
aspectRatios = capabilities.aspectRatios.size() - 1;
|
aspectRatios = static_cast<int>(capabilities.aspectRatios.size()) - 1;
|
||||||
LOG(LogDebug) << "Theme set includes support for "
|
LOG(LogDebug) << "Theme set includes support for "
|
||||||
<< capabilities.variants.size() << " variant"
|
<< capabilities.variants.size() << " variant"
|
||||||
<< (capabilities.variants.size() != 1 ? "s" : "") << ", "
|
<< (capabilities.variants.size() != 1 ? "s" : "") << ", "
|
||||||
|
|
Loading…
Reference in a new issue