Replace some problematic uses of String::num to String::num_int64
This commit is contained in:
parent
4ce466d7fa
commit
33e16435f5
10 changed files with 12 additions and 12 deletions
|
|
@ -196,7 +196,7 @@ Error RegEx::compile(const String &p_pattern, bool p_show_error) {
|
|||
if (p_show_error) {
|
||||
PCRE2_UCHAR32 buf[256];
|
||||
pcre2_get_error_message_32(err, buf, 256);
|
||||
String message = String::num(offset) + ": " + String((const char32_t *)buf);
|
||||
String message = String::num_int64(offset) + ": " + String((const char32_t *)buf);
|
||||
ERR_PRINT(message.utf8());
|
||||
}
|
||||
return FAILED;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue