1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-05-10 06:06:10 +02:00

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:
Florian Forster 2006-06-18 17:18:08 +02:00 committed by Junio C Hamano
parent 571ea603a6
commit 2bda77e080

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