diff options
author | Guy Harris <guy@alum.mit.edu> | 2005-01-02 03:58:08 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2005-01-02 03:58:08 +0000 |
commit | c1e2dc025b28d5ae050a4dbbe1ecd7918f5a1aaf (patch) | |
tree | 450ad73021d5cd348dc3e7ba43164f3c0e652d24 /epan | |
parent | 7e58bd88ca4991979bf063ef8eb94c57ed97773a (diff) |
Cast away the constness of the argument to "g_tree_lookup()" - another
GLib function with an unfortunate signature.
svn path=/trunk/; revision=12923
Diffstat (limited to 'epan')
-rw-r--r-- | epan/proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/proto.c b/epan/proto.c index 20183a9197..0a36548286 100644 --- a/epan/proto.c +++ b/epan/proto.c @@ -480,7 +480,7 @@ header_field_info* proto_registrar_get_byname(const char *field_name) { g_assert(field_name != NULL); - return g_tree_lookup(gpa_name_tree, field_name); + return g_tree_lookup(gpa_name_tree, (gpointer)field_name); } /* Add a text-only node, leaving it to our caller to fill the text in */ |