From 2df612d4222b36c6aaf925a15f5ecac4ac4bd95f Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Fri, 21 May 2021 10:30:38 +0200 Subject: [PATCH] conf: use explicit signage in bit field Signed-off-by: Christian Brauner --- src/lxc/conf.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/lxc/conf.h b/src/lxc/conf.h index 57d3b4531..625e80955 100644 --- a/src/lxc/conf.h +++ b/src/lxc/conf.h @@ -197,12 +197,12 @@ typedef enum lxc_mount_options_t { __hidden extern const char *lxc_mount_options_info[LXC_MOUNT_MAX]; struct lxc_mount_options { - int create_dir : 1; - int create_file : 1; - int optional : 1; - int relative : 1; - int recursive : 1; - int bind : 1; + unsigned int create_dir : 1; + unsigned int create_file : 1; + unsigned int optional : 1; + unsigned int relative : 1; + unsigned int recursive : 1; + unsigned int bind : 1; char userns_path[PATH_MAX]; unsigned long mnt_flags; unsigned long prop_flags; -- 2.47.2