From f84671ef8ef8dc9050d37c633418f0aa00318547 Mon Sep 17 00:00:00 2001
From: Mathias Gumz <akira@fluxbox.org>
Date: Sat, 7 Feb 2015 18:05:41 +0100
Subject: Minor

---
 src/FbTk/Menu.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc
index 333da7b..0a7c20a 100644
--- a/src/FbTk/Menu.cc
+++ b/src/FbTk/Menu.cc
@@ -1038,8 +1038,8 @@ void Menu::exposeEvent(XExposeEvent &ee) {
         size_t row = ee.y / item_h;
         size_t end_row = ((ee.y + ee.height) / item_h);
 
-        if (end_row > m_rows_per_column)
-            end_row = m_rows_per_column;
+        if (end_row > static_cast<size_t>(m_rows_per_column))
+            end_row = static_cast<size_t>(m_rows_per_column);
 
         for (size_t j = (ee.x / m_item_w); j < t; j++) {
 
-- 
cgit v0.11.2