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>
maint
Florian Forster 2006-06-18 17:18:08 +02:00 committed by Junio C Hamano
parent 571ea603a6
commit 2bda77e080
1 changed files with 1 additions and 1 deletions

View File

@ -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