diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-10-04 09:25:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-04 09:25:07 +0200 |
commit | bdf898e38d8f7d87496a4ba30a2c2da2f6771988 (patch) | |
tree | 878f80e9a6c3bfd0c944887259afc1884b0cc976 /scene/gui/line_edit.cpp | |
parent | 171be91804d68adf7d36e36a3f15e885cda47bf7 (diff) | |
parent | a0f206aae81b44fb48cb74900b9831835da40327 (diff) |
Merge pull request #22707 from karroffel/clang-warnings
fix enum cast warnings on clang
Diffstat (limited to 'scene/gui/line_edit.cpp')
-rw-r--r-- | scene/gui/line_edit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/line_edit.cpp b/scene/gui/line_edit.cpp index 9c43d5b308..6f344f1028 100644 --- a/scene/gui/line_edit.cpp +++ b/scene/gui/line_edit.cpp @@ -527,7 +527,7 @@ void LineEdit::_gui_input(Ref<InputEvent> p_event) { void LineEdit::set_align(Align p_align) { - ERR_FAIL_INDEX(p_align, 4); + ERR_FAIL_INDEX((int)p_align, 4); align = p_align; update(); } |