diff options
Diffstat (limited to 'src/FbTk/TextButton.cc')
-rw-r--r-- | src/FbTk/TextButton.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/TextButton.cc b/src/FbTk/TextButton.cc index 922eb74..85ac5c8 100644 --- a/src/FbTk/TextButton.cc +++ b/src/FbTk/TextButton.cc | |||
@@ -150,7 +150,7 @@ void TextButton::renderForeground(FbWindow &win, FbDrawable &drawable) { | |||
150 | } | 150 | } |
151 | 151 | ||
152 | void TextButton::drawText(int x_offset, int y_offset, FbDrawable *drawable) { | 152 | void TextButton::drawText(int x_offset, int y_offset, FbDrawable *drawable) { |
153 | size_t textlen = text().size(); | 153 | unsigned int textlen = text().size(); |
154 | // do text alignment | 154 | // do text alignment |
155 | 155 | ||
156 | unsigned int textw = width(), texth = height(); | 156 | unsigned int textw = width(), texth = height(); |