diff options
author | Francois Pichet <pichet2000@gmail.com> | 2011-05-25 16:07:10 +0000 |
---|---|---|
committer | Francois Pichet <pichet2000@gmail.com> | 2011-05-25 16:07:10 +0000 |
commit | 319b4a609156faabf0bb86e368026afcd30893ee (patch) | |
tree | fc0181bc67ca1dbad9a10dbdfc861ad72c80140e | |
parent | 563a645de82231a55e221fe655b7188bf8369662 (diff) |
Fix MSVC warning: <unsafe use of type 'bool' in operation>
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132058 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/AST/TypePrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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. |