summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2015-12-21 15:22:40 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2015-12-21 15:22:40 +0100
commit856a971b7a33e58c2711d6b38e4ef4a6cbb2210e (patch)
treebe4d6cf3fe6042ff7cc2c2debaa8c74d6b0b7bd2
parentb6d57bc7e11e084da874af7decd066dda685a30f (diff)
Fix size_t printf error.
-rw-r--r--plugingui/textedit.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugingui/textedit.cc b/plugingui/textedit.cc
index 36258e9..7342421 100644
--- a/plugingui/textedit.cc
+++ b/plugingui/textedit.cc
@@ -97,7 +97,7 @@ void TextEdit::setText(const std::string& text)
int ran = height() / font.textHeight();
DEBUG(textedit, "Setting range and max of scrollbar to '%d' and '%d'\n",
- ran, preprocessedtext.size());
+ ran, (int)preprocessedtext.size());
scroll.setRange(ran);
scroll.setMaximum(preprocessedtext.size());