]> xenbits.xensource.com Git - xen.git/commit
tools: convert bitfields to unsigned type
authorOlaf Hering <olaf@aepfle.de>
Mon, 8 May 2023 16:46:18 +0000 (16:46 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 16 May 2023 19:03:02 +0000 (20:03 +0100)
commit99ab02f63ea813f2e467a39a7736bf460a3f3495
tree0bb6876cabd3b68cd54bec4e58288da0408e47e2
parentc8e4bbb5b8ee22fd1591ba6a5a3cef4466dda323
tools: convert bitfields to unsigned type

clang complains about the signed type:

implicit truncation from 'int' to a one-bit wide bit-field changes value from 1 to -1 [-Wsingle-bit-bitfield-constant-conversion]

The potential ABI change in libxenvchan is covered by the Xen version based SONAME.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Juergen Gross <jgross@suse.com>
Acked-by: Anthony PERARD <anthony.perard@citrix.com>
tools/include/libxenvchan.h
tools/xentrace/xenalyze.c