Dissector table names should be pointed to by const pointers.
svn path=/trunk/; revision=21533
This commit is contained in:
parent
0e7e1ba0aa
commit
6f4a938c64
|
@ -1753,8 +1753,9 @@ call_dissector_only(dissector_handle_t handle, tvbuff_t *tvb,
|
|||
|
||||
|
||||
static void
|
||||
dissector_dump_decodes_display(gchar *table_name, ftenum_t selector_type _U_,
|
||||
gpointer key, gpointer value, gpointer user_data _U_)
|
||||
dissector_dump_decodes_display(const gchar *table_name,
|
||||
ftenum_t selector_type _U_, gpointer key, gpointer value,
|
||||
gpointer user_data _U_)
|
||||
{
|
||||
guint32 selector = (guint32) key;
|
||||
dissector_table_t sub_dissectors = find_dissector_table(table_name);
|
||||
|
|
Loading…
Reference in New Issue