summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/AsmPrinter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter.cpp
index 7abb8d59543..ce9a84eecc7 100644
--- a/llvm/lib/CodeGen/AsmPrinter.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter.cpp
@@ -64,7 +64,7 @@ void AsmPrinter::emitConstantValueOnly(const Constant *CV) {
if (((CI->getValue() << 32) >> 32) == CI->getValue())
O << CI->getValue();
else
- O << (unsigned long long)CI->getValue();
+ O << (uint64_t)CI->getValue();
else if (const ConstantUInt *CI = dyn_cast<ConstantUInt>(CV))
O << CI->getValue();
else if (isa<GlobalValue>((Value*)CV)) {
OpenPOWER on IntegriCloud