Skip to content
  • Steve Lhomme's avatar
    nav_types: avoid forcing a higher length in bitfield structures · f3c27767
    Steve Lhomme authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
    LLVM ends up using the size of an unsigned int if it's used in the bitfield.
    In other places the bitfields are using unsigned char which always uses the
    proper size in the packed structures.
    
    /!\ btni_t fields are kept with unsigned int as unsigned char cannot hold
    10 bits. btni_t is not actually read as a packed structure. So we keep the
    current format for backward compatibility.
    f3c27767