aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuraid Madina <duraid@octopus.com.au>2005-05-15 13:05:48 +0000
committerDuraid Madina <duraid@octopus.com.au>2005-05-15 13:05:48 +0000
commit73c4dbae23af0995f849748d7ede708ee9f546ec (patch)
treeed64a5b8ac67747224e4a03072e5c8c5a51de770
parent17b2e4837be5626bbcfbe945274d50d4aa21ecd1 (diff)
downloadllvm-73c4dbae23af0995f849748d7ede708ee9f546ec.zip
llvm-73c4dbae23af0995f849748d7ede708ee9f546ec.tar.gz
llvm-73c4dbae23af0995f849748d7ede708ee9f546ec.tar.bz2
aCC and STLport complained about this, because they're like that
llvm-svn: 22053
-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 7abb8d5..ce9a84e 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)) {