Dissector table names should be pointed to by const pointers.

svn path=/trunk/; revision=21533
This commit is contained in:
Guy Harris 2007-04-23 17:40:33 +00:00
parent 0e7e1ba0aa
commit 6f4a938c64
1 changed files with 3 additions and 2 deletions

View File

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