aCC and STLport complained about this, because they're like that
authorDuraid Madina <duraid@octopus.com.au>
Sun, 15 May 2005 13:05:48 +0000 (13:05 +0000)
committerDuraid Madina <duraid@octopus.com.au>
Sun, 15 May 2005 13:05:48 +0000 (13:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22053 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/AsmPrinter.cpp

index 7abb8d59543e9f1ea9eda11ed48908b520b2b3a6..ce9a84eecc77d0d7450dba037fd9bb4f8dfcf303 100644 (file)
@@ -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)) {