A one-bit wide bit-field can take only the values 0 and -1. Clang 16
introduced a warning that "implicit truncation from 'int' to a one-bit
wide bit-field changes value from 1 to -1". Fix by using c99 bool.
Reported by: Clang
MFC after: 3 days
Differential D39665
ichiic: use bool for one-bit wide bit-fields dim on Apr 18 2023, 6:09 PM. Authored by Tags None Referenced Files
Subscribers
Details A one-bit wide bit-field can take only the values 0 and -1. Clang 16 Reported by: Clang
Diff Detail
|