From 856a971b7a33e58c2711d6b38e4ef4a6cbb2210e Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Mon, 21 Dec 2015 15:22:40 +0100 Subject: Fix size_t printf error. --- plugingui/textedit.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugingui') 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()); -- cgit v1.2.3