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" : "") << ", "