diff options
author | Krystian Hebel <krystian.hebel@3mdeb.com> | 2020-10-08 19:19:42 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-06-11 07:41:41 +0000 |
commit | 3c75a8db35957bd501dfa2443f2e0a74d88c0a3f (patch) | |
tree | 6065363b48b4a4bdc3d3f917bce7c2010000ae75 /util | |
parent | 926949d64c1d8ef49dcc6774dd8535a2cb1fd423 (diff) |
commonlib/lz4_wrapper.c: do not use bitfields
Order of bits in bitfields is implementation-defined. This makes them
non-portable, especially across systems using different endianness.
This change removes bitfields and uses masking and shifting instead.
Signed-off-by: Krystian Hebel <krystian.hebel@3mdeb.com>
Change-Id: Ief7d87ddb25c9baa931f27dbd54a4ca730b6ece7
Reviewed-on: https://review.coreboot.org/c/coreboot/+/55040
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Diffstat (limited to 'util')
0 files changed, 0 insertions, 0 deletions