bit fields should be explicitly unsigned (unless space is allocated

for sign bit)
This commit is contained in:
Kurt Zeilenga 2000-07-20 19:50:40 +00:00
parent 804100b431
commit ca5eab2ebc

View file

@ -71,8 +71,8 @@ struct sockbuf {
#define sb_options sb_opts.lbo_options
#define sb_debug sb_opts.lbo_debug
ber_socket_t sb_fd;
int sb_trans_needs_read:1;
int sb_trans_needs_write:1;
unsigned int sb_trans_needs_read:1;
unsigned int sb_trans_needs_write:1;
};
#define SOCKBUF_VALID( sb ) ( (sb)->sb_valid == LBER_VALID_SOCKBUF )