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
F102194191: D34122.diff
Fri, Nov 8, 7:04 PM
Unknown Object (File)
Thu, Nov 7, 2:02 PM
Unknown Object (File)
Wed, Nov 6, 4:34 AM
Unknown Object (File)
Sun, Nov 3, 8:44 AM
Unknown Object (File)
Fri, Nov 1, 3:46 AM
Unknown Object (File)
Sun, Oct 13, 8:22 PM
Unknown Object (File)
Sep 27 2024, 8:54 AM
Unknown Object (File)
Sep 11 2024, 8:10 PM
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