(verify_type__): Use `unsigned int' as the bitfield type
authorJim Meyering <jim@meyering.net>
Fri, 23 Sep 2005 22:59:59 +0000 (22:59 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 23 Sep 2005 22:59:59 +0000 (22:59 +0000)
so we can once again use a positive bitfield width of 1 -- now we
don't have to explain why we were using a bitfield width of 2.

lib/verify.h

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