From 8dd10256cb24ceade8b40bd1604f03ddac8589e2 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Tue, 29 Jun 2010 21:14:40 +0200 Subject: ipset 5: Sparc related and compatibility fixes ipset 5 is tested on Sparc, which revealed some compatibility issues and those are fixed. Kernels from 2.6.31 onward are supported. The testsuite checkings are completed to run match/target checks. The README file is updated to reflect the requirements to install and run ipset 5. --- lib/types.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/types.c') 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) { -- cgit v1.2.3