Re: [pacman-dev] [PATCH v3 2/4] Represent bitfields as ints, not enums

2016-10-17 Thread Allan McRae
On 13/10/16 06:13, ivy.fos...@gmail.com wrote: > From: Ivy Foster > > Many bitfield variables are declared to be enums, because they are > generated using bitwise operations on enums such. However, their > actual values aren't necessary members of their parent enum, so > declaring them 'int' is m

[pacman-dev] [PATCH v3 2/4] Represent bitfields as ints, not enums

2016-10-12 Thread ivy . foster
From: Ivy Foster Many bitfield variables are declared to be enums, because they are generated using bitwise operations on enums such. However, their actual values aren't necessary members of their parent enum, so declaring them 'int' is more accurate. Signed-off-by: Ivy Foster --- lib/libalpm/