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 28 2025, 9:37 AM
Unknown Object (File)
Nov 26 2025, 10:16 PM
Unknown Object (File)
Nov 25 2025, 4:03 PM
Unknown Object (File)
Nov 18 2025, 11:16 AM
Unknown Object (File)
Nov 16 2025, 10:33 AM
Unknown Object (File)
Nov 3 2025, 2:59 PM
Unknown Object (File)
Oct 29 2025, 12:51 PM
Unknown Object (File)
Oct 29 2025, 12:43 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable