Page MenuHomeFreeBSD

<sys/bitstring.h>: Cast _BITSTR_BITS to int in a ternary operator.
ClosedPublic

Authored by jhb on Feb 1 2022, 1:08 AM.
Tags
None
Referenced Files
Unknown Object (File)
Nov 20 2024, 3:33 PM
Unknown Object (File)
Nov 19 2024, 3:26 PM
Unknown Object (File)
Nov 8 2024, 9:49 PM
Unknown Object (File)
Nov 8 2024, 7:04 PM
Unknown Object (File)
Nov 7 2024, 2:02 PM
Unknown Object (File)
Nov 6 2024, 4:34 AM
Unknown Object (File)
Nov 3 2024, 8:44 AM
Unknown Object (File)
Nov 1 2024, 3:46 AM
Subscribers

Details

Summary

This fixes a -Wsign-compare error reported by GCC due to the two
results of the ternary operator having differing signedness.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 44208
Build 41096: arc lint + arc unit