diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2015-11-30 07:14:44 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-01-03 01:27:47 +0000 |
commit | 4473c676464805faf474a50fc076457ccf826234 (patch) | |
tree | edbce62fbfb67e42e495fd4e54c48c2bd5ea4310 /epan/addr_resolv.c | |
parent | f9df9ffb3fd479e3d0bd1bde7ca299ce5bd1872b (diff) |
Fix some constness issues [-Wcast-qual]
Change-Id: I111558df3d36436ddf5e2728f113b022cc48a713
Reviewed-on: https://code.wireshark.org/review/13013
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/addr_resolv.c')
-rw-r--r-- | epan/addr_resolv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/addr_resolv.c b/epan/addr_resolv.c index 4de34637db..9a4a275248 100644 --- a/epan/addr_resolv.c +++ b/epan/addr_resolv.c @@ -2990,7 +2990,7 @@ tvb_get_ether_name(tvbuff_t *tvb, gint offset) /* Look for a (non-dummy) ether name in the hash, and return it if found. * If it's not found, simply return NULL. */ -gchar * +const gchar * get_ether_name_if_known(const guint8 *addr) { hashether_t *tp; @@ -3050,7 +3050,7 @@ ipxnet_to_str_punct(wmem_allocator_t *scope, const guint32 ad, const char punct) return buf; } -const gchar * +gchar * get_ipxnet_name(wmem_allocator_t *allocator, const guint32 addr) { |