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)
Tue, May 12, 10:48 PM
Unknown Object (File)
Thu, May 7, 5:41 PM
Unknown Object (File)
Thu, May 7, 3:43 PM
Unknown Object (File)
Thu, May 7, 8:31 AM
Unknown Object (File)
Wed, May 6, 8:04 PM
Unknown Object (File)
Wed, May 6, 9:04 AM
Unknown Object (File)
May 3 2026, 1:10 AM
Unknown Object (File)
Apr 29 2026, 7:50 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