mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-02 14:25:55 +01:00
Fixed an another sign compare warning.
This commit is contained in:
parent
b796390962
commit
eb43e1dfc9
@ -1313,7 +1313,7 @@ bool String::begins_with(const char *p_string) const {
|
|||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
while (*p_string && i < l) {
|
while (*p_string && i < l) {
|
||||||
if (*p_string != str[i]) {
|
if (*p_string != (CharType)str[i]) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
i++;
|
i++;
|
||||||
|
Loading…
Reference in New Issue
Block a user