mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-24 18:17:21 +01:00
Actually fix sign compare warning.
This commit is contained in:
parent
7e5896d81b
commit
904c88c403
@ -1313,7 +1313,7 @@ bool String::begins_with(const char *p_string) const {
|
||||
int i = 0;
|
||||
|
||||
while (*p_string && i < l) {
|
||||
if (*p_string != (CharType)str[i]) {
|
||||
if ((CharType)(*p_string) != str[i]) {
|
||||
return false;
|
||||
}
|
||||
i++;
|
||||
|
Loading…
Reference in New Issue
Block a user