From: Christian Brauner Date: Fri, 21 May 2021 08:30:38 +0000 (+0200) Subject: conf: use explicit signage in bit field X-Git-Tag: lxc-5.0.0~165^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2df612d4222b36c6aaf925a15f5ecac4ac4bd95f;p=thirdparty%2Flxc.git conf: use explicit signage in bit field Signed-off-by: Christian Brauner --- 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;