diff options
Diffstat (limited to 'epan/dissectors/packet-ber.c')
-rw-r--r-- | epan/dissectors/packet-ber.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ber.c b/epan/dissectors/packet-ber.c index c3f6571737..c3ff73fe1d 100644 --- a/epan/dissectors/packet-ber.c +++ b/epan/dissectors/packet-ber.c @@ -259,7 +259,7 @@ void ber_decode_as(gchar *syntax) } /* Get oid syntax from hash table to get translation in proto dissection(packet-per.c) */ -const char * +const gchar * get_ber_oid_syntax(const char *oid) { return g_hash_table_lookup(syntax_table, oid); @@ -280,7 +280,7 @@ void ber_set_filename(gchar *filename) if((ptr = strrchr(ber_filename, '.')) != NULL) { - ber_decode_as(get_ber_oid_syntax(ptr)); + ber_decode_as((gchar *)get_ber_oid_syntax(ptr)); } } |