diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-05-24 19:21:13 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-05-24 19:21:13 +0000 |
commit | 19b7e0e0cabfa6dfc559c64e3d6ed053832c4047 (patch) | |
tree | 79b2611d6dfc345798b274934fd99127b12e71dc /tools/llvm-prof/llvm-prof.cpp | |
parent | 077b38720772de4b87d5855a399d95b7dbd5b278 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28453 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-prof/llvm-prof.cpp')
-rw-r--r-- | tools/llvm-prof/llvm-prof.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-prof/llvm-prof.cpp b/tools/llvm-prof/llvm-prof.cpp index fb2e469976..0b645f6b97 100644 --- a/tools/llvm-prof/llvm-prof.cpp +++ b/tools/llvm-prof/llvm-prof.cpp @@ -139,7 +139,7 @@ int main(int argc, char **argv) { sort(FunctionCounts.begin(), FunctionCounts.end(), PairSecondSortReverse<Function*>()); - unsigned long long TotalExecutions = 0; + uint64_t TotalExecutions = 0; for (unsigned i = 0, e = FunctionCounts.size(); i != e; ++i) TotalExecutions += FunctionCounts[i].second; |