aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/TextButton.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/TextButton.cc')
-rw-r--r--src/FbTk/TextButton.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/TextButton.cc b/src/FbTk/TextButton.cc
index 1d5936c..ad9de09 100644
--- a/src/FbTk/TextButton.cc
+++ b/src/FbTk/TextButton.cc
@@ -144,7 +144,7 @@ void TextButton::renderForeground(FbWindow &win, FbDrawable &drawable) {
144} 144}
145 145
146void TextButton::drawText(int x_offset, int y_offset, FbDrawable *drawable) { 146void TextButton::drawText(int x_offset, int y_offset, FbDrawable *drawable) {
147 unsigned int textlen = text().size(); 147 size_t textlen = text().size();
148 // do text alignment 148 // do text alignment
149 149
150 unsigned int textw = width(), texth = height(); 150 unsigned int textw = width(), texth = height();