Fix a compiler warning on hosts where uint64_t isn't unsigned long long.
authorDan Gohman <gohman@apple.com>
Fri, 1 May 2009 16:33:33 +0000 (16:33 +0000)
committerDan Gohman <gohman@apple.com>
Fri, 1 May 2009 16:33:33 +0000 (16:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70548 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp

index e5955c748098a251a22cb72b50e5a125dc42ef48..1c8e12deb46fb615cb78912d82a6906885c4d730 100644 (file)
@@ -563,7 +563,7 @@ static int AnalyzeBitcode() {
         const PerRecordStats &RecStats = Stats.CodeFreq[FreqPairs[i].second];
         
         fprintf(stderr, "\t\t%7d %9llu ", RecStats.NumInstances,
-                RecStats.TotalBits);
+                (unsigned long long)RecStats.TotalBits);
         
         if (RecStats.NumAbbrev)
           fprintf(stderr, "%7.2f  ",