From 5007a32191e8fe9617d02b6e35be62e8b8a5fdd9 Mon Sep 17 00:00:00 2001 From: Michael Graff Date: Wed, 19 Apr 2000 22:47:24 +0000 Subject: [PATCH] use unsigned int for bitfields, not isc_boolean_t --- lib/dns/include/dns/rbt.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/dns/include/dns/rbt.h b/lib/dns/include/dns/rbt.h index 51e8e7213f..8dfa14e0df 100644 --- a/lib/dns/include/dns/rbt.h +++ b/lib/dns/include/dns/rbt.h @@ -64,13 +64,13 @@ typedef struct dns_rbtnode { * In each case below the "range" indicated is what's _necessary_ for * the bitfield to hold, not what it actually _can_ hold. */ - isc_boolean_t is_root:1; /* range is 0..1 */ - unsigned int color:1; /* range is 0..1 */ - unsigned int find_callback:1; /* range is 0..1 */ - unsigned int attributes:4; /* range is 0..2 */ - unsigned int namelen:8; /* range is 1..255 */ - unsigned int offsetlen:8; /* range is 1..128 */ - unsigned int padbytes:9; /* range is 0..380 */ + unsigned int is_root : 1; /* range is 0..1 */ + unsigned int color : 1; /* range is 0..1 */ + unsigned int find_callback : 1; /* range is 0..1 */ + unsigned int attributes : 4; /* range is 0..2 */ + unsigned int namelen : 8; /* range is 1..255 */ + unsigned int offsetlen : 8; /* range is 1..128 */ + unsigned int padbytes : 9; /* range is 0..380 */ /* * These values are used in the RBT DB implementation. The appropriate * node lock must be held before accessing them.