From 6e64180f03e95eb6c97f458990087ec99cd3f8f8 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Wed, 24 May 2006 19:21:13 +0000 Subject: For PR786: Minor tweaks in public headers and a few .cpp files so that LLVM can build successfully with -pedantic and projects using LLVM with -pedantic don't get warnings from LLVM. There's still more -pedantic warnings to fix. llvm-svn: 28453 --- llvm/tools/llvm-prof/llvm-prof.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/tools/llvm-prof/llvm-prof.cpp') diff --git a/llvm/tools/llvm-prof/llvm-prof.cpp b/llvm/tools/llvm-prof/llvm-prof.cpp index fb2e469976c..0b645f6b971 100644 --- a/llvm/tools/llvm-prof/llvm-prof.cpp +++ b/llvm/tools/llvm-prof/llvm-prof.cpp @@ -139,7 +139,7 @@ int main(int argc, char **argv) { sort(FunctionCounts.begin(), FunctionCounts.end(), PairSecondSortReverse()); - unsigned long long TotalExecutions = 0; + uint64_t TotalExecutions = 0; for (unsigned i = 0, e = FunctionCounts.size(); i != e; ++i) TotalExecutions += FunctionCounts[i].second; -- cgit v1.2.3