Fixed an another sign compare warning.

This commit is contained in:
Relintai 2022-08-16 01:23:54 +02:00
parent b796390962
commit eb43e1dfc9

View File

@ -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++;