forked from osmocom/wireshark
disabled_protos.c: Fix heur_compare() constness [-Wcast-qual]
Change-Id: Ibe2df9dbad432d5480f1f64f11968b645e9cf967 Reviewed-on: https://code.wireshark.org/review/12641 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
862625f430
commit
2816403b48
|
@ -703,8 +703,8 @@ read_disabled_heur_dissector_list(char **gpath_return, int *gopen_errno_return,
|
|||
static gint
|
||||
heur_compare(gconstpointer a, gconstpointer b)
|
||||
{
|
||||
return strcmp(((heur_dtbl_entry_t*)a)->short_name,
|
||||
((heur_dtbl_entry_t*)b)->short_name);
|
||||
return strcmp(((const heur_dtbl_entry_t *)a)->short_name,
|
||||
((const heur_dtbl_entry_t *)b)->short_name);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue