Try to fix a valgrind error on 32 bit platforms: use %zu instead of %llu to format a size_t.

llvm-svn: 98819
This commit is contained in:
Benjamin Kramer 2010-03-18 12:18:36 +00:00
parent fb6f52671a
commit 4f67227625
1 changed files with 2 additions and 2 deletions

View File

@ -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");