]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
cgroups: use explicit unsigned type for bitfield 3223/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Tue, 10 Dec 2019 11:27:33 +0000 (12:27 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Tue, 10 Dec 2019 13:07:08 +0000 (14:07 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/cgroups/cgroup.h

index 6f1508e637f6be2ff333fb87e7b4257f702c89ac..14daa1fc215a9a9ef9a56516a65284fabaaa66f8 100644 (file)
@@ -78,7 +78,7 @@ struct hierarchy {
        int version;
 
        /* cgroup2 only */
-       int bpf_device_controller:1;
+       unsigned int bpf_device_controller:1;
 };
 
 struct cgroup_ops {