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)
Apr 25 2024, 9:52 PM
Unknown Object (File)
Apr 24 2024, 9:28 AM
Unknown Object (File)
Apr 16 2024, 12:32 AM
Unknown Object (File)
Apr 10 2024, 3:52 AM
Unknown Object (File)
Mar 31 2024, 1:53 PM
Unknown Object (File)
Feb 28 2024, 4:09 AM
Unknown Object (File)
Jan 26 2024, 7:46 AM
Unknown Object (File)
Jan 15 2024, 1:08 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable