aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk')
-rw-r--r--src/FbTk/Menu.cc4
1 files 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) {
1038 size_t row = ee.y / item_h; 1038 size_t row = ee.y / item_h;
1039 size_t end_row = ((ee.y + ee.height) / item_h); 1039 size_t end_row = ((ee.y + ee.height) / item_h);
1040 1040
1041 if (end_row > m_rows_per_column) 1041 if (end_row > static_cast<size_t>(m_rows_per_column))
1042 end_row = m_rows_per_column; 1042 end_row = static_cast<size_t>(m_rows_per_column);
1043 1043
1044 for (size_t j = (ee.x / m_item_w); j < t; j++) { 1044 for (size_t j = (ee.x / m_item_w); j < t; j++) {
1045 1045