summaryrefslogtreecommitdiff
path: root/lib/Target/X86/InstPrinter
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2011-11-05 08:57:40 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2011-11-05 08:57:40 +0000
commit41a964931a0e0943ceef28b0c691843bf8ca87b7 (patch)
treece6a507970b4633d36e6d800531f0c1c50860fc3 /lib/Target/X86/InstPrinter
parent965d2feeddd4bb672396e620b8c2f402f7bb99d6 (diff)
downloadllvm-41a964931a0e0943ceef28b0c691843bf8ca87b7.tar.gz
llvm-41a964931a0e0943ceef28b0c691843bf8ca87b7.tar.bz2
llvm-41a964931a0e0943ceef28b0c691843bf8ca87b7.tar.xz
Add more PRI.64 macros for MSVC and use them throughout the codebase.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143799 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/InstPrinter')
-rw-r--r--lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp b/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
index 029d491260..8f26d9f4dd 100644
--- a/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
+++ b/lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp
@@ -97,7 +97,7 @@ void X86ATTInstPrinter::printOperand(const MCInst *MI, unsigned OpNo,
O << '$' << (int64_t)Op.getImm();
if (CommentStream && (Op.getImm() > 255 || Op.getImm() < -256))
- *CommentStream << format("imm = 0x%llX\n", (long long)Op.getImm());
+ *CommentStream << format("imm = 0x%" PRIX64 "\n", (uint64_t)Op.getImm());
} else {
assert(Op.isExpr() && "unknown operand kind in printOperand");