1
0
mirror of https://github.com/djhackersdev/bemanitools.git synced 2024-11-28 08:20:51 +01:00

chore(dev): Fix format warning

This commit is contained in:
icex2 2023-03-26 23:43:36 +02:00 committed by icex2
parent 65aa31ca22
commit ef103eb299

View File

@ -18,10 +18,9 @@ static bool patch_memory_check_data(
for (size_t i = 0; i < len; i++) {
if (dest[i] != data_expected[i]) {
log_warning(
"Memcheck error: base %" PRIXPTR " + address %" PRIXPTR " + offset %d: "
"expected %X, found %X",
base_address,
address,
"Memcheck error: base %lluX + address %lluX + offset %d: expected %X, found %X",
(uint64_t) base_address,
(uint64_t) address,
// this cast is technically wrong
// but no one should be patching 32K worth of bytes at once
(int)i,