aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/ipset/patches/001-Replace-the-last-reference-to-u_int8_t-with-uint8_t.patch
blob: 745e9fa3b36990d1ade46229e2863e2882b8f3fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From a4212bf911026740afc7fce98d9100e2ef5dcea0 Mon Sep 17 00:00:00 2001
From: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Date: Tue, 26 Sep 2017 07:00:13 +0200
Subject: [PATCH] Replace the last reference to u_int8_t with uint8_t.

---
 src/ipset.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ipset.c b/src/ipset.c
index 79f56b8..df0778a 100644
--- a/src/ipset.c
+++ b/src/ipset.c
@@ -282,7 +282,7 @@ call_parser(int *argc, char *argv[], const struct ipset_type *type,
 	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 */
-- 
2.13.5