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 | 6e64180f03e95eb6c97f458990087ec99cd3f8f8 (patch) | |
tree | e9c4cd50350136936b9249ca45b0162af48d5c0f /llvm/tools/llvm-prof/llvm-prof.cpp | |
parent | 94531bf367cbfaec2799569694e8570e7d166e3f (diff) | |
download | bcm5719-llvm-6e64180f03e95eb6c97f458990087ec99cd3f8f8.tar.gz bcm5719-llvm-6e64180f03e95eb6c97f458990087ec99cd3f8f8.zip |
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
Diffstat (limited to 'llvm/tools/llvm-prof/llvm-prof.cpp')
-rw-r--r-- | llvm/tools/llvm-prof/llvm-prof.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<Function*>()); - unsigned long long TotalExecutions = 0; + uint64_t TotalExecutions = 0; for (unsigned i = 0, e = FunctionCounts.size(); i != e; ++i) TotalExecutions += FunctionCounts[i].second; |