From: Kurt Zeilenga Date: Thu, 20 Jul 2000 19:50:40 +0000 (+0000) Subject: bit fields should be explicitly unsigned (unless space is allocated X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2403 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ca5eab2ebc9fe3c76d0c7d2c20bdf711f71401b5;p=openldap bit fields should be explicitly unsigned (unless space is allocated for sign bit) --- diff --git a/libraries/liblber/lber-int.h b/libraries/liblber/lber-int.h index 6ee5e7389e..7234e33db2 100644 --- a/libraries/liblber/lber-int.h +++ b/libraries/liblber/lber-int.h @@ -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 )