Clang (but not gcc) warned about this. Gcc (but not clang) used to warn that
nfq_set_verdict_mark is deprecated, but this has stopped since re-defining
EXPORT_SYMBOL.

Signed-off-by: Duncan Roe <duncan_...@optusnet.com.au>
---
 src/extra/ipv6.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/extra/ipv6.c b/src/extra/ipv6.c
index 531e84a..beb7d57 100644
--- a/src/extra/ipv6.c
+++ b/src/extra/ipv6.c
@@ -134,7 +134,7 @@ nfq_ip6_snprintf(char *buf, size_t size, const struct 
ip6_hdr *ip6h)
        inet_ntop(AF_INET6, &ip6h->ip6_src, src, INET6_ADDRSTRLEN);
        inet_ntop(AF_INET6, &ip6h->ip6_dst, dst, INET6_ADDRSTRLEN);
 
-       ret = snprintf(buf, size, "SRC=%s DST=%s LEN=%Zu TC=0x%X "
+       ret = snprintf(buf, size, "SRC=%s DST=%s LEN=%zu TC=0x%X "
                                  "HOPLIMIT=%u FLOWLBL=%u ",
                        src, dst,
                        ntohs(ip6h->ip6_plen) + sizeof(struct ip6_hdr),
-- 
2.14.5

Reply via email to