From eb43e1dfc9c34ddb211d93c827aa0a426e598a1b Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 16 Aug 2022 01:23:54 +0200 Subject: [PATCH] Fixed an another sign compare warning. --- core/ustring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ustring.cpp b/core/ustring.cpp index 7f80f436e..10b32b091 100644 --- a/core/ustring.cpp +++ b/core/ustring.cpp @@ -1313,7 +1313,7 @@ bool String::begins_with(const char *p_string) const { int i = 0; while (*p_string && i < l) { - if (*p_string != str[i]) { + if (*p_string != (CharType)str[i]) { return false; } i++;