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)
Thu, Mar 13, 10:37 AM
Unknown Object (File)
Thu, Mar 13, 6:53 AM
Unknown Object (File)
Thu, Feb 20, 3:09 PM
Unknown Object (File)
Feb 5 2025, 12:09 PM
Unknown Object (File)
Feb 4 2025, 6:22 AM
Unknown Object (File)
Jan 31 2025, 5:18 AM
Unknown Object (File)
Jan 25 2025, 11:33 AM
Unknown Object (File)
Nov 20 2024, 3:33 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