summaryrefslogtreecommitdiff
path: root/caputils
diff options
context:
space:
mode:
authorJoão Valverde <joao.valverde@tecnico.ulisboa.pt>2016-02-12 05:15:35 +0000
committerJoão Valverde <j@v6e.pt>2016-02-15 00:00:34 +0000
commit82bb9ebc015fc1cd63186ea1ac03a6ce81696903 (patch)
treeba42acabab9077113232f84142d2c35898beace3 /caputils
parent5066cf86901f8849deb1a79dbe14fec675bb99da (diff)
downloadwireshark-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')
-rw-r--r--caputils/iface_monitor.c2
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");