summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2014-08-21 15:37:39 +0200
committerZdenek Kabelac <zkabelac@redhat.com>2014-08-26 14:13:06 +0200
commit3b5afac9b433dd26f4461d4f59401bbb299219ec (patch)
tree3db19e3c9adabbfaa4ff57af7d2015d309fec35b
parente5356eeba10858c2bb0f57891c262f77707b19bc (diff)
downloadlvm2-3b5afac9b433dd26f4461d4f59401bbb299219ec.tar.gz
cleanup: use unsigned 1bit elements
Avoid using signed 'int' type for 1 bit size.
-rw-r--r--lib/config/config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/config/config.h b/lib/config/config.h
index 7b1d5b6d8..d095519b5 100644
--- a/lib/config/config.h
+++ b/lib/config/config.h
@@ -139,10 +139,10 @@ struct config_def_tree_spec {
struct cmd_context *cmd; /* command context (for run-time defaults */
cfg_def_tree_t type; /* tree type */
uint16_t version; /* tree at this LVM2 version */
- int ignoreadvanced:1; /* do not include advanced configs */
- int ignoreunsupported:1; /* do not include unsupported configs */
- int withcomments:1; /* include comments */
- int withversions:1; /* include versions */
+ unsigned ignoreadvanced:1; /* do not include advanced configs */
+ unsigned ignoreunsupported:1; /* do not include unsupported configs */
+ unsigned withcomments:1; /* include comments */
+ unsigned withversions:1; /* include versions */
uint8_t *check_status; /* status of last tree check (currently needed for CFG_DEF_TREE_MISSING only) */
};