mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-03 09:14:30 +00:00
Try to fix a valgrind error on 32 bit platforms: use %zu instead of %llu to format a size_t.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98819 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fd4943087e
commit
7c97ed7d07
@ -1355,8 +1355,8 @@ int decodeInstruction(struct InternalInstruction* insn,
|
||||
|
||||
insn->length = insn->readerCursor - insn->startLocation;
|
||||
|
||||
dbgprintf(insn, "Read from 0x%llx to 0x%llx: length %llu",
|
||||
startLoc, insn->readerCursor, insn->length);
|
||||
dbgprintf(insn, "Read from 0x%llx to 0x%llx: length %zu",
|
||||
startLoc, insn->readerCursor, insn->length);
|
||||
|
||||
if (insn->length > 15)
|
||||
dbgprintf(insn, "Instruction exceeds 15-byte limit");
|
||||
|
Loading…
x
Reference in New Issue
Block a user