From 87149557b21ae33f73c77ec19062dad686006150 Mon Sep 17 00:00:00 2001 From: Relintai Date: Mon, 15 Aug 2022 23:12:44 +0200 Subject: [PATCH] Fix sign comparison warning. --- scene/gui/text_edit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/gui/text_edit.cpp b/scene/gui/text_edit.cpp index 866d9ff5e..8a31113e0 100644 --- a/scene/gui/text_edit.cpp +++ b/scene/gui/text_edit.cpp @@ -3132,7 +3132,7 @@ void TextEdit::_gui_input(const Ref &p_gui_input) { } // No need to move the brace below if we are not taking the text with us. - char closing_char = _get_right_pair_symbol(indent_char); + CharType closing_char = _get_right_pair_symbol(indent_char); if ((closing_char != 0) && (closing_char == text[cursor.line][cursor.column]) && !k->get_command()) { brace_indent = true; ins += "\n" + ins.substr(1, ins.length() - 2);