diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-06-19 12:09:18 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-06-19 19:10:00 +0000 |
commit | 12574468e1d87af730792e5f15fca854172899ce (patch) | |
tree | e91b59c1b3796a902202cd9b7dd7986c3f3786ef /epan/dissectors/packet-iax2.c | |
parent | 592c3673c63561c5126885933e64d734e0572769 (diff) |
address_to_str() *does* take a const pointer.
At least now it does. (So does ep_address_to_str().)
Change-Id: I5fdf15ca42faac802fd21b4b6f5b750ed402bd05
Reviewed-on: https://code.wireshark.org/review/2442
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-iax2.c')
-rw-r--r-- | epan/dissectors/packet-iax2.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/epan/dissectors/packet-iax2.c b/epan/dissectors/packet-iax2.c index 1a14bfb50b..1dc5c18dd4 100644 --- a/epan/dissectors/packet-iax2.c +++ b/epan/dissectors/packet-iax2.c @@ -607,10 +607,7 @@ static gchar *key_to_str( const iax_circuit_key *key ) } strp = str[i]; - /* why doesn't ep_address_to_str take a const pointer? - cast the warnings into oblivion. */ - - addrstr = address_to_str(NULL, (address *)&key->addr) + addrstr = address_to_str(NULL, &key->addr) g_snprintf(strp, 80, "{%s:%i,%i}", addrstr, key->port, |