projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e20025
)
(verify_type__): Use `unsigned int' as the bitfield type
author
Jim Meyering
<jim@meyering.net>
Fri, 23 Sep 2005 22:59:59 +0000
(22:59 +0000)
committer
Jim 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
patch
|
blob
|
history
diff --git
a/lib/verify.h
b/lib/verify.h
index 406715ffef015c7b0945ad4b7c11e1e14dfa29b8..fbabd82c03e1190ac8fd0379b52d0ff45bf866b2 100644
(file)
--- a/
lib/verify.h
+++ b/
lib/verify.h
@@
-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. */