(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 c8066e91d96cdc4a5f0d883411148fcae11e411f..406715ffef015c7b0945ad4b7c11e1e14dfa29b8 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.  */