git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
571ea60
)
Change types used in bitfields to be `int's.
author
Florian Forster
<redacted>
Sun, 18 Jun 2006 15:18:08 +0000
(17:18 +0200)
committer
Junio C Hamano
<redacted>
Mon, 19 Jun 2006 04:19:10 +0000
(21:19 -0700)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
imap-send.c
patch
|
blob
|
history
diff --git
a/imap-send.c
b/imap-send.c
index 285ad29afb4c4126010ddc2f76963b4f8f1cce70..94e39cd94cb26b2147e214ce4032121df871834e 100644
(file)
--- 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
git clone https://git.99rst.org/PROJECT