summaryrefslogtreecommitdiffstats
path: root/examples/netfilter/nf-queue.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/netfilter/nf-queue.c')
-rw-r--r--examples/netfilter/nf-queue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/netfilter/nf-queue.c b/examples/netfilter/nf-queue.c
index 8b1a5e7..3658ba2 100644
--- a/examples/netfilter/nf-queue.c
+++ b/examples/netfilter/nf-queue.c
@@ -23,7 +23,7 @@
static int parse_attr_cb(const struct nlattr *attr, void *data)
{
- const struct nlattr **tb = (const struct nlattr **)data;
+ const struct nlattr **tb = data;
int type = mnl_attr_get_type(attr);
/* skip unsupported attribute in user-space */