freebsd-dev/sys/geom/part
Ed Maste 00172f3416 geom: use bool for one-bit wide bit-field
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
2023-04-17 15:43:00 -04:00
..
g_part_apm.c
g_part_bsd64.c sys/geom: Use C99 fixed-width integer types. 2021-12-28 09:41:51 -08:00
g_part_bsd.c GEOM: Remove redundant NULL pointer check before g_free() 2022-12-28 23:34:09 +08:00
g_part_ebr.c g_part_ebr: always create "compat" aliases 2023-03-01 13:44:01 -05:00
g_part_gpt.c GEOM: Remove redundant NULL pointer check before g_free() 2022-12-28 23:34:09 +08:00
g_part_if.m gpart(8): Fix two typos in source code comments 2022-03-28 19:36:48 +02:00
g_part_ldm.c
g_part_mbr.c gpart: Move MBR efimedia reporting to a separate routine 2021-11-02 17:09:17 -06:00
g_part_vtoc8.c
g_part.c geom: Add HiFive boot partitions 2022-01-26 10:54:45 -05:00
g_part.h geom: use bool for one-bit wide bit-field 2023-04-17 15:43:00 -04:00