diff options
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index b18dcb8..17e087b 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -714,7 +714,7 @@ void BScreen::reconfigure() { | |||
714 | renderPosWindow(); | 714 | renderPosWindow(); |
715 | 715 | ||
716 | // realize the number of workspaces from the init-file | 716 | // realize the number of workspaces from the init-file |
717 | const int nr_ws = *resource.workspaces; | 717 | const unsigned int nr_ws = *resource.workspaces; |
718 | if (nr_ws > m_workspaces_list.size()) { | 718 | if (nr_ws > m_workspaces_list.size()) { |
719 | while(nr_ws != m_workspaces_list.size()) { | 719 | while(nr_ws != m_workspaces_list.size()) { |
720 | addWorkspace(); | 720 | addWorkspace(); |
@@ -760,7 +760,7 @@ void BScreen::reconfigure() { | |||
760 | if (restore_menus) { | 760 | if (restore_menus) { |
761 | // restore submenus, no timestamp changed | 761 | // restore submenus, no timestamp changed |
762 | FbTk::Menu *menu = m_rootmenu.get(); | 762 | FbTk::Menu *menu = m_rootmenu.get(); |
763 | for (int i = 0; i < (int)remember_sub.size(); i++ ) { | 763 | for (unsigned int i = 0; i < remember_sub.size(); i++ ) { |
764 | int sub = remember_sub[i]; | 764 | int sub = remember_sub[i]; |
765 | if (!menu || sub < 0) | 765 | if (!menu || sub < 0) |
766 | break; | 766 | break; |