Get rid of bit fields in union
authorPaul Cercueil <paul@crapouillou.net>
Fri, 13 Sep 2019 21:09:11 +0000 (23:09 +0200)
committerAsh Logan <ash@heyquark.com>
Mon, 6 Jun 2022 13:04:52 +0000 (23:04 +1000)
Long story short, bit fields aren't endian-safe.
More info: http://mjfrazer.org/mjfrazer/bitfields/

Simplify that by just using a few macros to access the needed bits.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>

No differences found