[cfe-commits] r132058 - /cfe/trunk/lib/AST/TypePrinter.cpp
Francois Pichet
pichet2000 at gmail.com
Wed May 25 09:07:10 PDT 2011
Author: fpichet
Date: Wed May 25 11:07:10 2011
New Revision: 132058
URL: http://llvm.org/viewvc/llvm-project?rev=132058&view=rev
Log:
Fix MSVC warning: <unsafe use of type 'bool' in operation>
Modified:
cfe/trunk/lib/AST/TypePrinter.cpp
Modified: cfe/trunk/lib/AST/TypePrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/TypePrinter.cpp?rev=132058&r1=132057&r2=132058&view=diff
==============================================================================
--- cfe/trunk/lib/AST/TypePrinter.cpp (original)
+++ cfe/trunk/lib/AST/TypePrinter.cpp Wed May 25 11:07:10 2011
@@ -978,7 +978,7 @@
SpecString += '<';
for (unsigned Arg = 0; Arg < NumArgs; ++Arg) {
- if (SpecString.size() > !SkipBrackets)
+ if (SpecString.size() > unsigned(!SkipBrackets))
SpecString += ", ";
// Print the argument into a string.
More information about the cfe-commits
mailing list