From f063f4cb8f0c9f1965661244809aaaeaa617b97d Mon Sep 17 00:00:00 2001 From: Ralf Wildenhues Date: Mon, 8 Nov 2004 08:43:17 +0000 Subject: [PATCH] Having a signed one-bit bitfield is quite odd -- its value is either 0 or -1. Although the current code is not broken because it doesn't test equality to 1, IMHO it's better not to use that. --- imap/imap_private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imap/imap_private.h b/imap/imap_private.h index 0a5540971..9905f5b99 100644 --- a/imap/imap_private.h +++ b/imap/imap_private.h @@ -178,7 +178,7 @@ typedef struct unsigned char rights[(RIGHTSMAX + 7)/8]; unsigned int newMailCount; IMAP_CACHE cache[IMAP_CACHE_LEN]; - int noclose : 1; + unsigned int noclose : 1; /* all folder flags - system flags AND keywords */ LIST *flags; -- 2.40.0