diff options
author | simonb <simonb> | 2006-04-24 14:29:21 (GMT) |
---|---|---|
committer | simonb <simonb> | 2006-04-24 14:29:21 (GMT) |
commit | acf4326f3cc3451aaf874b0b0777d69be5834e57 (patch) | |
tree | 8abf3c4158ece9c97c3764d7eb4eb9e1aa53bf84 /src/ClockTool.cc | |
parent | f6a072430d4de159e229d6172adc5ba5ae985512 (diff) | |
download | fluxbox_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.cc | 2 |
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(); |