]> git.sur5r.net Git - openldap/commitdiff
bit fields should be explicitly unsigned (unless space is allocated
authorKurt Zeilenga <kurt@openldap.org>
Thu, 20 Jul 2000 19:50:40 +0000 (19:50 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 20 Jul 2000 19:50:40 +0000 (19:50 +0000)
for sign bit)

libraries/liblber/lber-int.h

index 6ee5e7389ef22b3c354c189cabf2878c26e9166d..7234e33db2ed8aa742dd5d266baf6fcd4975d5cc 100644 (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 )