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:
João Valverde 2015-12-15 07:21:16 +00:00 committed by Anders Broman
parent 862625f430
commit 2816403b48
1 changed files with 2 additions and 2 deletions

View File

@ -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