From dd89d241f503882a336f4fe913c7963720f14530 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sun, 22 Jan 2023 12:04:34 +0100 Subject: [PATCH] (Windows) Fixed an MSVC compiler warning. --- es-core/src/ThemeData.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/ThemeData.cpp b/es-core/src/ThemeData.cpp index 1945fd53a..921ce2e90 100644 --- a/es-core/src/ThemeData.cpp +++ b/es-core/src/ThemeData.cpp @@ -786,7 +786,7 @@ void ThemeData::populateThemeSets() if (!capabilities.legacyTheme) { int aspectRatios {0}; if (capabilities.aspectRatios.size() > 0) - aspectRatios = capabilities.aspectRatios.size() - 1; + aspectRatios = static_cast(capabilities.aspectRatios.size()) - 1; LOG(LogDebug) << "Theme set includes support for " << capabilities.variants.size() << " variant" << (capabilities.variants.size() != 1 ? "s" : "") << ", "