From ca5eab2ebc9fe3c76d0c7d2c20bdf711f71401b5 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 20 Jul 2000 19:50:40 +0000 Subject: [PATCH] bit fields should be explicitly unsigned (unless space is allocated for sign bit) --- libraries/liblber/lber-int.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 ) -- 2.39.5