1
0
Fork 0

Fix: Don't add chars with unspecified signedness to pointers.

pull/13828/head
frosch 2025-03-15 17:45:03 +01:00
parent 4f63340f8d
commit 608404100f
1 changed files with 1 additions and 1 deletions

View File

@ -1227,7 +1227,7 @@ static void FormatString(StringBuilder &builder, const char *str_arg, StringPara
break;
}
/* Otherwise skip to the next case */
str += 3 + (str[1] << 8) + str[2];
str += 3 + (static_cast<uint8_t>(str[1]) << 8) + static_cast<uint8_t>(str[2]);
num--;
}
break;