forked from osmocom/wireshark
extcap: fix const warnings
Change-Id: Iac94349069485207d24ac1b8c1c5c09778c12e03 Reviewed-on: https://code.wireshark.org/review/14729 Petri-Dish: Dario Lombardo <lomato@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
This commit is contained in:
parent
b88153e595
commit
f4bdaf9d15
|
@ -181,9 +181,9 @@ static void extcap_iface_print(gpointer data, gpointer userdata _U_)
|
|||
|
||||
static gint extcap_iface_compare(gconstpointer a, gconstpointer b)
|
||||
{
|
||||
extcap_interface * iface_a = (extcap_interface *)a;
|
||||
const extcap_interface * iface_a = (const extcap_interface *)a;
|
||||
|
||||
return (g_strcmp0(iface_a->interface, (char *) b));
|
||||
return (g_strcmp0(iface_a->interface, (const char *) b));
|
||||
}
|
||||
|
||||
static void extcap_print_version(extcap_parameters * extcap)
|
||||
|
|
Loading…
Reference in New Issue