From: Florian Forster Date: Sun, 18 Jun 2006 15:18:08 +0000 (+0200) Subject: Change types used in bitfields to be `int's. X-Git-Tag: v1.4.1-rc1~7^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2bda77e080dd8d47ca0b87c78e9061fbaa37455a;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/imap-send.c b/imap-send.c index 285ad29af..94e39cd94 100644 --- a/imap-send.c +++ b/imap-send.c @@ -93,7 +93,7 @@ typedef struct { char *data; int len; unsigned char flags; - unsigned char crlf:1; + unsigned int crlf:1; } msg_data_t; #define DRV_OK 0