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, via dim Reviewed by: dim Sponsored by: The FreeBSD Foundation |
||
---|---|---|
.. | ||
g_part_apm.c | ||
g_part_bsd64.c | ||
g_part_bsd.c | ||
g_part_ebr.c | ||
g_part_gpt.c | ||
g_part_if.m | ||
g_part_ldm.c | ||
g_part_mbr.c | ||
g_part_vtoc8.c | ||
g_part.c | ||
g_part.h |