summaryrefslogtreecommitdiff
path: root/src/gui/widgets/textbox.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/textbox.h')
-rw-r--r--src/gui/widgets/textbox.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/textbox.h b/src/gui/widgets/textbox.h
index 5bfec42a1..bdeca3c5d 100644
--- a/src/gui/widgets/textbox.h
+++ b/src/gui/widgets/textbox.h
@@ -157,7 +157,7 @@ class TextBox final : public Widget,
* @return The number of rows in the text.
*/
unsigned int getNumberOfRows() const
- { return static_cast<int>(mTextRows.size()); }
+ { return CAST_S32(mTextRows.size()); }
/**
* Gets the caret position in the text.