From: Christian Brauner Date: Tue, 10 Dec 2019 11:27:33 +0000 (+0100) Subject: cgroups: use explicit unsigned type for bitfield X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c95a8c8c9a4f656cd0958e69ab2dafcd3acd99c5;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 {