Skip to content
Snippets Groups Projects

ifo_types: avoid forcing a higher length in bitfield structures

Merged Steve Lhomme requested to merge robUx4/libdvdread:bitfield-size into master
All threads resolved!

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.

  • multichannel_ext_t would end up having a size of 27 instead of 24
  • cell_playback_t would end up having a size of 26 instead of 24
  • pgci_srp_t would end up having a size of 11 instead of 8
  • playback_type_t would end up having a size of 4 instead of 1

v2:

  • do the same fix in nav_types.h

v3:

Edited by Steve Lhomme

Merge request reports

Pipeline #254494 passed

Pipeline passed for f3c27767 on robUx4:bitfield-size

Approved by

Merged by Jean-Baptiste KempfJean-Baptiste Kempf 2 years ago (Aug 22, 2022 7:57am UTC)

Merge details

  • Changes merged into master with f3c27767.
  • Deleted the source branch.

Pipeline #254506 passed

Pipeline passed for f3c27767 on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading