From b1dd2dd176d214d9ae5debe119bac03adb1244b0 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Sat, 11 Feb 2023 12:36:33 +0100 Subject: [PATCH] (Windows) Fixed an MSVC compiler warning. --- es-core/src/components/OptionListComponent.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/es-core/src/components/OptionListComponent.h b/es-core/src/components/OptionListComponent.h index 1ca2eec94..0d2097ab1 100644 --- a/es-core/src/components/OptionListComponent.h +++ b/es-core/src/components/OptionListComponent.h @@ -156,7 +156,7 @@ public: return GuiComponent::input(config, input); } - const int getNumEntries() { return mEntries.size(); } + const int getNumEntries() { return static_cast(mEntries.size()); } std::vector getSelectedObjects() {