From deb6d7650493e79c288b5bdda8ad3b8cbe6265c5 Mon Sep 17 00:00:00 2001 From: hiker Date: Wed, 25 Jul 2018 17:33:01 +1000 Subject: [PATCH] Fixed compiler warning. --- src/guiengine/widgets/ribbon_widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 !");