summaryrefslogtreecommitdiffstats
path: root/lib/types.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/types.c')
-rw-r--r--lib/types.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/types.c b/lib/types.c
index b39a04f..067abcb 100644
--- a/lib/types.c
+++ b/lib/types.c
@@ -404,7 +404,7 @@ ipset_type_check(struct ipset_session *session)
typename = ipset_data_get(data, IPSET_OPT_TYPENAME);
family = ipset_data_family(data);
- revision = *(uint8_t *) ipset_data_get(data, IPSET_OPT_REVISION);
+ revision = *(const uint8_t *) ipset_data_get(data, IPSET_OPT_REVISION);
/* Check registered types */
for (t = typelist; t != NULL && match == NULL; t = t->next) {