From 82bb9ebc015fc1cd63186ea1ac03a6ce81696903 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Valverde?= Date: Fri, 12 Feb 2016 05:15:35 +0000 Subject: Add some casts to void * to fix (pedantic) argument mismatch notes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I63e46285b4c6676d4ae57196b85fbad89964898c Reviewed-on: https://code.wireshark.org/review/13933 Petri-Dish: João Valverde Tested-by: Petri Dish Buildbot Reviewed-by: João Valverde --- caputils/iface_monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'caputils') 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"); -- cgit v1.2.1