Fix arm32 db/cmd/cmd_pc (#18053)

This commit is contained in:
Liumeo 2020-12-20 13:56:27 -05:00 committed by GitHub
parent 6057ae3e2d
commit 8c742b28f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,13 +6,13 @@
static const char* bits_to_c_code_fmtstr(int bits) {
switch (bits) {
case 16:
return "0x%04x";
return "0x%04" PFMT64x;
case 32:
return "0x%08xU";
return "0x%08" PFMT64x "U";
case 64:
return "0x%016" PFMT64x "ULL";
}
return "0x%02x";
return "0x%02" PFMT64x;
}
static int get_instruction_size(RPrint *p, ut64 at) {