diff --git a/src/guiengine/widgets/ribbon_widget.cpp b/src/guiengine/widgets/ribbon_widget.cpp index 28a7bbc36..2392925b3 100644 --- a/src/guiengine/widgets/ribbon_widget.cpp +++ b/src/guiengine/widgets/ribbon_widget.cpp @@ -684,7 +684,7 @@ void RibbonWidget::selectNextActiveWidget(const bool horizontally, const bool re } loop_counter++; - if (loop_counter > m_active_children.size()) + if (loop_counter > (int)m_active_children.size()) { Log::warn("RibbonWidget", "All the buttons of the focused ribbon" " are deactivated !");