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>
This commit is contained in:
parent
571ea603a6
commit
2bda77e080
@ -93,7 +93,7 @@ typedef struct {
|
|||||||
char *data;
|
char *data;
|
||||||
int len;
|
int len;
|
||||||
unsigned char flags;
|
unsigned char flags;
|
||||||
unsigned char crlf:1;
|
unsigned int crlf:1;
|
||||||
} msg_data_t;
|
} msg_data_t;
|
||||||
|
|
||||||
#define DRV_OK 0
|
#define DRV_OK 0
|
||||||
|
Loading…
Reference in New Issue
Block a user