From: Christian Brauner Date: Tue, 10 Dec 2019 11:27:33 +0000 (+0100) Subject: cgroups: use explicit unsigned type for bitfield X-Git-Tag: lxc-4.0.0~75^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aaa1ec28b0c8810dc7c7aeb2e38187d8b1910d00;p=thirdparty%2Flxc.git cgroups: use explicit unsigned type for bitfield Signed-off-by: Christian Brauner --- diff --git a/src/lxc/cgroups/cgroup.h b/src/lxc/cgroups/cgroup.h index 6f1508e63..14daa1fc2 100644 --- a/src/lxc/cgroups/cgroup.h +++ b/src/lxc/cgroups/cgroup.h @@ -78,7 +78,7 @@ struct hierarchy { int version; /* cgroup2 only */ - int bpf_device_controller:1; + unsigned int bpf_device_controller:1; }; struct cgroup_ops {