Просмотр исходного кода

Fix build after merge of #40097

CI had passed back then but this would have needed a rebase to
take into account recent changes to String.
Rémi Verschelde 5 лет назад
Родитель
Сommit
0d8bd93e40
1 измененных файлов с 2 добавлено и 2 удалено
  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
-				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)) {