--- src/netlink.c.orig 2013-06-04 02:27:05.160790797 +0200 +++ src/netlink.c 2013-06-04 02:27:36.463800911 +0200 @@ -568,7 +568,7 @@ #ifdef RTNL_DUMP_FILTER_FIVE_ARGS if (rtnl_dump_filter (&rth, link_filter, /* arg1 = */ NULL, - NULL, NULL) != 0) + (rtnl_filter_t)NULL, NULL) != 0) #elif defined(RTNL_DUMP_FILTER_THREE_ARGS) if (rtnl_dump_filter (&rth, link_filter, /* arg = */ NULL) != 0) #else @@ -612,7 +612,7 @@ #ifdef RTNL_DUMP_FILTER_FIVE_ARGS if (rtnl_dump_filter (&rth, qos_filter, (void *) &ifindex, - NULL, NULL) != 0) + (rtnl_filter_t)NULL, NULL) != 0) #elif defined(RTNL_DUMP_FILTER_THREE_ARGS) if (rtnl_dump_filter (&rth, qos_filter, /* arg = */ &ifindex) != 0) #else