diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2010-10-25 23:52:58 +0200 |
---|---|---|
committer | Jan Engelhardt <jengelh@medozas.de> | 2010-10-30 22:22:52 +0200 |
commit | f7cfd408bee4a14f705565a95f98caf3c35bd57e (patch) | |
tree | 5725129a5d3aef57c6bbe2402e5a989ee640e40d /examples/rtnl/rtnl-route-dump.c | |
parent | bae340593494739f873a2e00d6c8bcfc3777edc1 (diff) |
examples: remove redundant casts
Diffstat (limited to 'examples/rtnl/rtnl-route-dump.c')
-rw-r--r-- | examples/rtnl/rtnl-route-dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rtnl/rtnl-route-dump.c b/examples/rtnl/rtnl-route-dump.c index 7e86017..3622c1b 100644 --- a/examples/rtnl/rtnl-route-dump.c +++ b/examples/rtnl/rtnl-route-dump.c @@ -73,7 +73,7 @@ static void attributes_show_ipv4(struct nlattr *tb[]) 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 */ |