From 3bed5b46ba173a1154c43ef32f9e3ab10cf7b9f7 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 28 Apr 2002 04:49:43 +0000 Subject: [PATCH] Fix signed/unsigned comparison warning git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2350 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/DataStructure/ComputeClosure.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Analysis/DataStructure/ComputeClosure.cpp b/lib/Analysis/DataStructure/ComputeClosure.cpp index 501fd0c3d91..f4345fae801 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(CN->getArgValues(0)[0].Node); Function *F = cast(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(); -- 2.34.1