#13 Make underlying bitfield type uniform

Unstable (example)
closed-fixed
nobody
Value (4)
5
2015-03-06
2012-04-06
Kerrek SB
No

Bitfield members only share the same underlying variable if they are adjacent and of the same type. This patch makes all three bitfields in Value use the same type, and since we need at most three bits, I made that type "unsigned char".

Discussion

  • Kerrek SB

    Kerrek SB - 2012-04-06
     
    Attachments
  • Christopher Dunn

    • status: open --> closed-fixed
    • Group: --> Unstable (example)
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks