18 Mar
2007
18 Mar
'07
5:54 p.m.
On Sun, 2007-03-18 at 17:51 +0200, Timo Sirainen wrote:
uint32_t flags:8; uint32_t uid_broken:1; uint32_t expunged:1; uint32_t pseudo:1;
Right, I didn't think of that. But that feels a bit ugly :) I don't think it saves much memory anyway, so I'll keep it as uint8_t flags.
Besides, on many platforms gcc generates horrendous code for bitfields.
johannes