diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2016-02-12 05:15:35 +0000 |
---|---|---|
committer | João Valverde <j@v6e.pt> | 2016-02-15 00:00:34 +0000 |
commit | 82bb9ebc015fc1cd63186ea1ac03a6ce81696903 (patch) | |
tree | ba42acabab9077113232f84142d2c35898beace3 /caputils/iface_monitor.c | |
parent | 5066cf86901f8849deb1a79dbe14fec675bb99da (diff) | |
download | wireshark-82bb9ebc015fc1cd63186ea1ac03a6ce81696903.tar.gz |
Add some casts to void * to fix (pedantic) argument mismatch notes
Change-Id: I63e46285b4c6676d4ae57196b85fbad89964898c
Reviewed-on: https://code.wireshark.org/review/13933
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: João Valverde <j@v6e.pt>
Diffstat (limited to 'caputils/iface_monitor.c')
-rw-r--r-- | caputils/iface_monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/caputils/iface_monitor.c b/caputils/iface_monitor.c index 54c9d6045b..dcadf0b49f 100644 --- a/caputils/iface_monitor.c +++ b/caputils/iface_monitor.c @@ -149,7 +149,7 @@ iface_mon_start(iface_mon_cb cb) nl_socket_disable_seq_check(iface_mon_sock); - nl_socket_modify_cb(iface_mon_sock, NL_CB_VALID, NL_CB_CUSTOM, iface_mon_handler, cb); + nl_socket_modify_cb(iface_mon_sock, NL_CB_VALID, NL_CB_CUSTOM, iface_mon_handler, (void *)cb); if (nl_connect(iface_mon_sock, NETLINK_ROUTE)) { fprintf(stderr, "Failed to connect to generic netlink.\n"); |