diff options
author | Bill Meier <wmeier@newsguy.com> | 2010-04-03 18:18:50 +0000 |
---|---|---|
committer | Bill Meier <wmeier@newsguy.com> | 2010-04-03 18:18:50 +0000 |
commit | 6812b68eb1973d4a439cc1342890353982a42a57 (patch) | |
tree | b191b600b7710d04062effdc3f43d243d1150b55 /epan/address_to_str.c | |
parent | 68ad976a55954f7c4859c9402e4c219cf1fb5d45 (diff) |
From Yaniv Kaul: constify parameters
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=4422
From me: Fix a number of instances where the function prototype or
the function definition wasn't changed so there was a mismatch
thus causing Windows (but not gcc) compilation errors.
svn path=/trunk/; revision=32365
Diffstat (limited to 'epan/address_to_str.c')
-rw-r--r-- | epan/address_to_str.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/address_to_str.c b/epan/address_to_str.c index 0df45c7b8d..a09a4ae11c 100644 --- a/epan/address_to_str.c +++ b/epan/address_to_str.c @@ -127,7 +127,7 @@ ip6_to_str_buf(const struct e_in6_addr *ad, gchar *buf) } gchar* -ipx_addr_to_str(guint32 net, const guint8 *ad) +ipx_addr_to_str(const guint32 net, const guint8 *ad) { gchar *buf; char *name; @@ -152,7 +152,7 @@ ipxnet_to_string(const guint8 *ad) } gchar * -ipxnet_to_str_punct(const guint32 ad, char punct) +ipxnet_to_str_punct(const guint32 ad, const char punct) { gchar *buf = ep_alloc(12); |