aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/netmap/netmap_bdg.c
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2023-04-17 18:56:51 +0000
committerEd Maste <emaste@FreeBSD.org>2023-05-01 12:15:08 +0000
commit878716d2ccbf68946152728119f5320a46009d44 (patch)
tree36a25d229ad5fe0ae309a4d7e2d8d5dcff6cabda /sys/dev/netmap/netmap_bdg.c
parent3270f21597fb35f7cdbc39f0f09eaf4f84e79fe6 (diff)
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 (cherry picked from commit 00172f341666f2d5535ae6f4630c93593e86a4cb)
Diffstat (limited to 'sys/dev/netmap/netmap_bdg.c')
0 files changed, 0 insertions, 0 deletions