--- src/ipset.c.orig
+++ src/ipset.c
@@ -282,7 +282,7 @@
 	const struct ipset_arg *arg;
 	const char *optstr;
 	const struct ipset_type *t = type;
-	u_int8_t revision = type->revision;
+	uint8_t revision = type->revision;
 	int ret = 0, i = 1;
 
 	/* Currently CREATE and ADT may have got additional arguments */
