Change types used in bitfields to be `int's.
According to ANSI C99 bitfields are only defined for `signed int' and `unsigned int'. This patch corrects the bitfield in the `msg_data_t' type from `imap-send.c'. Signed-off-by: Florian Forster <octo@verplant.org> Signed-off-by: Junio C Hamano <junkio@cox.net>
Florian Forster committed
Jun 18, 2006 at 17:18 UTC
2bda77e080dd8d47ca0b87c78e9061fbaa37455a
1 file changed
+1
-1
imap-send.c
+1
-1
@@ -93,7 +93,7 @@ typedef struct {
93
char *data;
94
int len;
95
unsigned char flags;
96
- unsigned char crlf:1;
96
+ unsigned int crlf:1;
97
} msg_data_t;
98
99
#define DRV_OK 0