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)
Wed, Nov 20, 3:33 PM
Unknown Object (File)
Tue, Nov 19, 3:26 PM
Unknown Object (File)
Fri, Nov 8, 9:49 PM
Unknown Object (File)
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
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