aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.cc
diff options
context:
space:
mode:
authormathias <mathias>2006-01-16 18:46:39 (GMT)
committermathias <mathias>2006-01-16 18:46:39 (GMT)
commitf803d8f2502796993a838783eeaf81b17f2faca0 (patch)
tree782146499f4c588c66ca7eab4309f5902ecb6a9c /src/Screen.cc
parentb7ddb0ca13278d7b5a3a45ef03fd394b9b387bf3 (diff)
downloadfluxbox_pavel-f803d8f2502796993a838783eeaf81b17f2faca0.zip
fluxbox_pavel-f803d8f2502796993a838783eeaf81b17f2faca0.tar.bz2
applied patch from php-coder to fix some warnings, mostly signed vs unsigned
issues
Diffstat (limited to 'src/Screen.cc')
-rw-r--r--src/Screen.cc4
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;