]> granicus.if.org Git - clang/commitdiff
Fix a GCC warning, patch by Justin Handville
authorChris Lattner <sabre@nondot.org>
Sun, 16 Sep 2007 19:12:45 +0000 (19:12 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 16 Sep 2007 19:12:45 +0000 (19:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42007 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Decl.h

index a920353ed917222df2a5c4aa11fb0196a3d88d55..e1829b90cc999fdfc588546ce34adc682b1c0360 100644 (file)
@@ -57,7 +57,7 @@ private:
   Kind DeclKind   :  8;
   
   /// InvalidDecl - This indicates a semantic error occurred.
-  int InvalidDecl :  1;
+  unsigned int InvalidDecl :  1;
 
 protected:
   Decl(Kind DK) : DeclKind(DK), InvalidDecl(0) {