From 88c6a0aa757df0ec38bc67f2cf314f8be3efd0ce Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 30 Apr 2014 19:52:16 +0300 Subject: Fix code style in gui. --- src/gui/widgets/textbox.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/textbox.cpp') diff --git a/src/gui/widgets/textbox.cpp b/src/gui/widgets/textbox.cpp index b1849e801..d616ecd0d 100644 --- a/src/gui/widgets/textbox.cpp +++ b/src/gui/widgets/textbox.cpp @@ -456,7 +456,8 @@ void TextBox::draw(Graphics* graphics) for (size_t i = 0, sz = mTextRows.size(); i < sz; i++) { // Move the text one pixel so we can have a caret before a letter. - font->drawString(graphics, mTextRows[i], 1, i * fontHeight); + font->drawString(graphics, mTextRows[i], 1, + static_cast(i * fontHeight)); } BLOCK_END("TextBox::draw") } -- cgit v1.2.3-60-g2f50