diff options
Diffstat (limited to 'examples/rtnl/rtnl-link-dump.c')
-rw-r--r-- | examples/rtnl/rtnl-link-dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rtnl/rtnl-link-dump.c b/examples/rtnl/rtnl-link-dump.c index 76e6c2c..3fe3d95 100644 --- a/examples/rtnl/rtnl-link-dump.c +++ b/examples/rtnl/rtnl-link-dump.c @@ -16,7 +16,7 @@ static int data_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 */ |