aboutsummaryrefslogtreecommitdiff
path: root/src/Container.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-16 11:18:22 (GMT)
committersimonb <simonb>2006-04-16 11:18:22 (GMT)
commit553104ee1d53104fa0790a9793a7047c61dd073f (patch)
tree5ccc4968b10f604c05aaa6d3bb13fc206fab8faa /src/Container.cc
parent02aa83a59eb3d9e209449b38808635f9e293a17a (diff)
downloadfluxbox-553104ee1d53104fa0790a9793a7047c61dd073f.zip
fluxbox-553104ee1d53104fa0790a9793a7047c61dd073f.tar.bz2
fix all compiler warnings with -Wall
Diffstat (limited to 'src/Container.cc')
-rw-r--r--src/Container.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Container.cc b/src/Container.cc
index caab11b..ff026e1 100644
--- a/src/Container.cc
+++ b/src/Container.cc
@@ -32,8 +32,8 @@
32 32
33Container::Container(const FbTk::FbWindow &parent): 33Container::Container(const FbTk::FbWindow &parent):
34 FbTk::FbWindow(parent, 0, 0, 1, 1, ExposureMask), 34 FbTk::FbWindow(parent, 0, 0, 1, 1, ExposureMask),
35 m_align(RELATIVE),
36 m_orientation(FbTk::ROT0), 35 m_orientation(FbTk::ROT0),
36 m_align(RELATIVE),
37 m_max_size_per_client(60), 37 m_max_size_per_client(60),
38 m_max_total_size(0), 38 m_max_total_size(0),
39 m_selected(0), 39 m_selected(0),
@@ -479,7 +479,7 @@ unsigned int Container::maxWidthPerClient() const {
479 if (size() == 0) 479 if (size() == 0)
480 return width(); 480 return width();
481 else { 481 else {
482 int borderW = m_item_list.front()->borderWidth(); 482 unsigned int borderW = m_item_list.front()->borderWidth();
483 // there're count-1 borders to fit in with the windows 483 // there're count-1 borders to fit in with the windows
484 // -> 1 per window plus end 484 // -> 1 per window plus end
485 unsigned int w = width(), h = height(); 485 unsigned int w = width(), h = height();