diff options
author | Chris Lattner <sabre@nondot.org> | 2002-04-28 04:49:43 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-04-28 04:49:43 +0000 |
commit | 3bed5b46ba173a1154c43ef32f9e3ab10cf7b9f7 (patch) | |
tree | 08e6dfc9cfcae12fbf7ef711a2d42b3c4c7290e5 /lib | |
parent | 09a60ac9fe4fff553fb5fdee10cd09c8b6855cf4 (diff) | |
download | external_llvm-3bed5b46ba173a1154c43ef32f9e3ab10cf7b9f7.zip external_llvm-3bed5b46ba173a1154c43ef32f9e3ab10cf7b9f7.tar.gz external_llvm-3bed5b46ba173a1154c43ef32f9e3ab10cf7b9f7.tar.bz2 |
Fix signed/unsigned comparison warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2350 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Analysis/DataStructure/ComputeClosure.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/DataStructure/ComputeClosure.cpp b/lib/Analysis/DataStructure/ComputeClosure.cpp index 501fd0c..f4345fa 100644 --- a/lib/Analysis/DataStructure/ComputeClosure.cpp +++ b/lib/Analysis/DataStructure/ComputeClosure.cpp @@ -109,7 +109,7 @@ void FunctionDSGraph::computeClosure(const DataStructure &DS) { GlobalDSNode *FGDN = cast<GlobalDSNode>(CN->getArgValues(0)[0].Node); Function *F = cast<Function>(FGDN->getGlobal()); - if (NumInlines++ == InlineLimit) { // CUTE hack huh? + if ((int)NumInlines++ == InlineLimit) { // CUTE hack huh? cerr << "Infinite (?) recursion halted\n"; cerr << "Not inlining: " << F->getName() << "\n"; CN->dump(); |