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() {