From 319b4a609156faabf0bb86e368026afcd30893ee Mon Sep 17 00:00:00 2001 From: Francois Pichet Date: Wed, 25 May 2011 16:07:10 +0000 Subject: [PATCH] Fix MSVC warning: git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132058 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AST/TypePrinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/AST/TypePrinter.cpp b/lib/AST/TypePrinter.cpp index aad97fb9fc..4519606f6e 100644 --- a/lib/AST/TypePrinter.cpp +++ b/lib/AST/TypePrinter.cpp @@ -978,7 +978,7 @@ TemplateSpecializationType::PrintTemplateArgumentList( SpecString += '<'; for (unsigned Arg = 0; Arg < NumArgs; ++Arg) { - if (SpecString.size() > !SkipBrackets) + if (SpecString.size() > unsigned(!SkipBrackets)) SpecString += ", "; // Print the argument into a string. -- 2.40.0