This patch cast a expression to avoid a warning. Signed-off-by: Eric Leblond <eric@xxxxxx> --- filter/ulogd_filter_IP2BIN.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/filter/ulogd_filter_IP2BIN.c b/filter/ulogd_filter_IP2BIN.c index d1b3c47..c4b44fa 100644 --- a/filter/ulogd_filter_IP2BIN.c +++ b/filter/ulogd_filter_IP2BIN.c @@ -137,7 +137,7 @@ static char *ip2bin(struct ulogd_key* inp, int index, char family) switch (family) { case AF_INET6: - addr = GET_VALUE(inp, index).ui128; + addr = (struct in6_addr *) GET_VALUE(inp, index).ui128; break; case AF_INET: /* Convert IPv4 to IPv4 in IPv6 */ -- 1.5.4.3 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html