Skip to content
Snippets Groups Projects
Commit ca5eab2e authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

bit fields should be explicitly unsigned (unless space is allocated

for sign bit)
parent 804100b4
No related branches found
No related tags found
No related merge requests found
......@@ -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 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment