(verify_type__): Use 2, not 1, for bitfield size, to avoid
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 23 Sep 2005 21:51:06 +0000 (21:51 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 23 Sep 2005 21:51:06 +0000 (21:51 +0000)
a warning with Irix 6.5 cc.  Problem reported by Bruno Haible.

lib/verify.h

index c8066e9..406715f 100644 (file)
@@ -30,7 +30,7 @@
    private to this header file.  */
 
 # define verify_type__(R) \
-    struct { int verify_error_if_negative_size__ : (R) ? 1 : -1; }
+    struct { int verify_error_if_negative_size__ : (R) ? 2 : -1; }
 
 /* Verify requirement R at compile-time, as a declaration.  */