Use %llu to print a 64 bit number. Should fix the ARM bots.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 11 Jul 2013 20:01:30 +0000 (20:01 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 11 Jul 2013 20:01:30 +0000 (20:01 +0000)
llvm-svn: 186113

llvm/tools/llvm-ar/llvm-ar.cpp

index 2aab2cb..fd6841c 100644 (file)
@@ -330,7 +330,7 @@ doDisplayTable(std::string* ErrMsg) {
         printMode(mode & 007);
         outs() << ' ' << I->getUser();
         outs() << "/" << I->getGroup();
-        outs() << ' ' << format("%6u", I->getSize());
+        outs() << ' ' << format("%6llu", I->getSize());
         sys::TimeValue ModTime = I->getModTime();
         outs() << " " << ModTime.str();
         outs() << " " << I->getPath().str() << "\n";