Browse Source

Merge pull request #42615 from akien-mga/fixup-40097

Fix build after merge of #40097
Rémi Verschelde 5 years ago
parent
commit
8a4f402bcb
1 changed files with 2 additions and 2 deletions
  1. 2 2
      core/ustring.cpp

+ 2 - 2
core/ustring.cpp

@@ -792,8 +792,8 @@ signed char String::naturalnocasecmp_to(const String &p_str) const {
 				}
 				}
 
 
 				// Keep ptrs to start of numerical sequences
 				// 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
 				// Compare lengths of both numerical sequences, ignoring leading zeros
 				while (IS_DIGIT(*this_str)) {
 				while (IS_DIGIT(*this_str)) {