This fixes the following warnings: ipset.c: In function ʽkernel_getfrom_handleerrnoʼ: ipset.c:434: warning: passing argument 2 of ʽwrapped_getsockoptʼ from incompatible pointer type ipset.c: In function ʽload_set_listʼ: ipset.c:1085: warning: passing argument 3 of ʽkernel_getfrom_handleerrnoʼ from incompatible pointer type ipset.c: In function ʽtry_save_setsʼ: ipset.c:1237: warning: passing argument 3 of ʽkernel_getfrom_handleerrnoʼ from incompatible pointer type ipset.c: In function ʽset_restoreʼ: ipset.c:1513: warning: passing argument 3 of ʽkernel_getfrom_handleerrnoʼ from incompatible pointer type ipset.c: In function ʽtry_list_setsʼ: ipset.c:1811: warning: passing argument 3 of ʽkernel_getfrom_handleerrnoʼ from incompatible pointer type Signed-off-by: Sven Wegener <sven.wegener@xxxxxxxxxxx> --- ipset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- ipset.orig/ipset.c +++ ipset/ipset.c @@ -429,7 +429,7 @@ kernel_error(cmd, errno); } -static int kernel_getfrom_handleerrno(unsigned cmd, void *data, size_t * size) +static int kernel_getfrom_handleerrno(unsigned cmd, void *data, socklen_t *size) { int res = wrapped_getsockopt(data, size);