Skip to content

Commit

Permalink
Change types used in bitfields to be `int's.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Florian Forster authored and Junio C Hamano committed Jun 19, 2006
1 parent 571ea60 commit 2bda77e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imap-send.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2bda77e

Please sign in to comment.