From 5a2a69b7be20c7da612a8f63e3b6e439f70257df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Thu, 19 Jan 2017 15:22:04 +0200 Subject: [PATCH] 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. --- include/maxscale/modinfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/maxscale/modinfo.h b/include/maxscale/modinfo.h index 30a82eea8..52400d9a1 100644 --- a/include/maxscale/modinfo.h +++ b/include/maxscale/modinfo.h @@ -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 */