mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
config: use int for type
Since the type is used for 'or' operation of enumerated bit fields, it doesn't not have type cfg_def_type_t - use proper int type for bitmask.
This commit is contained in:
parent
79991aa769
commit
fc9d4dd11f
@ -88,7 +88,7 @@ typedef struct cfg_def_item {
|
|||||||
int id; /* ID of this item */
|
int id; /* ID of this item */
|
||||||
int parent; /* ID of parent item */
|
int parent; /* ID of parent item */
|
||||||
const char *name; /* name of the item in configuration tree */
|
const char *name; /* name of the item in configuration tree */
|
||||||
cfg_def_type_t type; /* configuration item type */
|
int type; /* configuration item type (bits of cfg_def_type_t) */
|
||||||
cfg_def_value_t default_value; /* default value (only for settings) */
|
cfg_def_value_t default_value; /* default value (only for settings) */
|
||||||
uint16_t flags; /* configuration item definition flags */
|
uint16_t flags; /* configuration item definition flags */
|
||||||
uint16_t since_version; /* version this item appeared in */
|
uint16_t since_version; /* version this item appeared in */
|
||||||
|
Loading…
Reference in New Issue
Block a user