Make enum parameter values unsigned 64bit integers

Making the enum value relatively large removes the need to expand it if a
module requires a significant amount of enumeration values.
This commit is contained in:
Markus Mäkelä 2017-01-19 15:22:04 +02:00
parent dbeb208a5c
commit 5a2a69b7be

View File

@ -106,7 +106,7 @@ enum mxs_module_param_options
typedef struct mxs_enum_value
{
const char *name; /**< Name of the enum value */
int enum_value; /**< The integer value of the enum */
uint64_t enum_value; /**< The integer value of the enum */
} MXS_ENUM_VALUE;
/** Module parameter declaration */