diff options
author | Guy Harris <guy@alum.mit.edu> | 2013-04-02 17:05:50 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2013-04-02 17:05:50 +0000 |
commit | 71c751f3c1b3eda349000fb6ab95e78ea5305119 (patch) | |
tree | ec8108c9dd9f31918d4bf374192539923e25b50b /iface_monitor.c | |
parent | a9045908dfbf82729e7078cc027ee5b8d357b1e2 (diff) | |
download | wireshark-71c751f3c1b3eda349000fb6ab95e78ea5305119.tar.gz |
An explicit cast that was missing; at least some version of GCC
complains about its absence with -Wc++-compat.
svn path=/trunk/; revision=48701
Diffstat (limited to 'iface_monitor.c')
-rw-r--r-- | iface_monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iface_monitor.c b/iface_monitor.c index e9143f2dd2..281411a75f 100644 --- a/iface_monitor.c +++ b/iface_monitor.c @@ -77,7 +77,7 @@ iface_mon_handler2(struct nl_object *obj, void *arg) struct rtnl_link *link_obj; int flags, up; char *ifname; - iface_mon_cb cb = arg; + iface_mon_cb cb = (iface_mon_cb)arg; filter = rtnl_link_alloc(); if (!filter) { |