aboutsummaryrefslogtreecommitdiff
path: root/src/ClockTool.cc
diff options
context:
space:
mode:
authorsimonb <simonb>2006-04-24 14:29:21 (GMT)
committersimonb <simonb>2006-04-24 14:29:21 (GMT)
commitacf4326f3cc3451aaf874b0b0777d69be5834e57 (patch)
tree8abf3c4158ece9c97c3764d7eb4eb9e1aa53bf84 /src/ClockTool.cc
parentf6a072430d4de159e229d6172adc5ba5ae985512 (diff)
downloadfluxbox_pavel-acf4326f3cc3451aaf874b0b0777d69be5834e57.zip
fluxbox_pavel-acf4326f3cc3451aaf874b0b0777d69be5834e57.tar.bz2
Use -Wall when --enable-debug and some warning fixes
+ thanks Jonas Koelker
Diffstat (limited to 'src/ClockTool.cc')
-rw-r--r--src/ClockTool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ClockTool.cc b/src/ClockTool.cc
index e4b6c0c..2c0ad46 100644
--- a/src/ClockTool.cc
+++ b/src/ClockTool.cc
@@ -257,7 +257,7 @@ void ClockTool::updateTime() {
257 return; 257 return;
258 m_button.setText(time_string); 258 m_button.setText(time_string);
259 259
260 int new_width = m_theme.font().textWidth(time_string, time_string_len) + 2; 260 unsigned int new_width = m_theme.font().textWidth(time_string, time_string_len) + 2;
261 if (new_width > m_button.width()) { 261 if (new_width > m_button.width()) {
262 resize(new_width, m_button.height()); 262 resize(new_width, m_button.height());
263 resizeSig().notify(); 263 resizeSig().notify();