From b8efa1e0911e5e872bb4ff7edcc7fd41e282ff3e Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Thu, 26 Jan 2012 09:37:36 +0000 Subject: [PATCH] AST/ExprConstant.cpp: Silence a warning on ms cl.exe. "bool" does not prefer to be compared to integer. llvm-svn: 149059 --- clang/lib/AST/ExprConstant.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/AST/ExprConstant.cpp b/clang/lib/AST/ExprConstant.cpp index 6a292c392510..63d01deb4880 100644 --- a/clang/lib/AST/ExprConstant.cpp +++ b/clang/lib/AST/ExprConstant.cpp @@ -503,7 +503,7 @@ static void describeCall(CallStackFrame *Frame, llvm::raw_ostream &Out) { for (FunctionDecl::param_const_iterator I = Frame->Callee->param_begin(), E = Frame->Callee->param_end(); I != E; ++I, ++ArgIndex) { - if (ArgIndex > IsMemberCall) + if (ArgIndex > (unsigned)IsMemberCall) Out << ", "; const ParmVarDecl *Param = *I;