summaryrefslogtreecommitdiff
path: root/core/ustring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/ustring.cpp')
-rw-r--r--core/ustring.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/ustring.cpp b/core/ustring.cpp
index 18603f37eb..e382ef3746 100644
--- a/core/ustring.cpp
+++ b/core/ustring.cpp
@@ -792,8 +792,8 @@ signed char String::naturalnocasecmp_to(const String &p_str) const {
}
// Keep ptrs to start of numerical sequences
- const CharType *this_substr = this_str;
- const CharType *that_substr = that_str;
+ const char32_t *this_substr = this_str;
+ const char32_t *that_substr = that_str;
// Compare lengths of both numerical sequences, ignoring leading zeros
while (IS_DIGIT(*this_str)) {