Get rid of bit fields in union
authorPaul Cercueil <paul@crapouillou.net>
Fri, 13 Sep 2019 21:09:11 +0000 (23:09 +0200)
committernotaz <notasas@gmail.com>
Fri, 29 Jul 2022 20:48:40 +0000 (23:48 +0300)
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