diff options
author | наб <[email protected]> | 2022-01-21 19:20:11 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-01-21 10:20:11 -0800 |
commit | bc40713a8f2e78ce8b4bdef587d5233d313f06f1 (patch) | |
tree | 7433bf5e8d63263d7e55964f51e2140643414c10 /include/sys | |
parent | 5a4d282f55f3237a4baafa04a897e738aa98f6d2 (diff) |
libspl: ASSERT*: !! for sizeof
sizeof(bitfield.member) is invalid, and this shows up in some FreeBSD
build configurations: work around this by !!ing ‒
this makes the sizeof target the ! result type (_Bool), instead
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ahelenia Ziemiańska <[email protected]>
Fixes: 42aaf0e ("libspl: ASSERT*: mark arguments as used")
Closes #12984
Closes #12986
Diffstat (limited to 'include/sys')
0 files changed, 0 insertions, 0 deletions