diff options
author | Jörg Mayer <jmayer@loplof.de> | 2005-08-05 00:23:22 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2005-08-05 00:23:22 +0000 |
commit | 69dcb66cd9d74b27f85a1dceca2735fd68732c1b (patch) | |
tree | 3c3e24728558c5082c714381cfbb089836bcdac2 /epan/dissectors/packet-socks.c | |
parent | 63728d5770c3eae2cbc2130454eca1188c8c12e5 (diff) |
More char -> const char warning fixes
svn path=/trunk/; revision=15218
Diffstat (limited to 'epan/dissectors/packet-socks.c')
-rw-r--r-- | epan/dissectors/packet-socks.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-socks.c b/epan/dissectors/packet-socks.c index d0b12afcbc..84c79d18f1 100644 --- a/epan/dissectors/packet-socks.c +++ b/epan/dissectors/packet-socks.c @@ -181,7 +181,7 @@ typedef struct { -static char *address_type_table[] = { +static const char *address_type_table[] = { "Unknown", "IPv4", "Unknown", @@ -236,7 +236,7 @@ static GMemChunk *socks_vals = NULL; static int display_string(tvbuff_t *tvb, int offset, - proto_tree *tree, char *label){ + proto_tree *tree, const char *label){ /* display a string with a length, characters encoding */ /* they are displayed under a tree with the name in Label variable */ @@ -269,7 +269,7 @@ static int display_string(tvbuff_t *tvb, int offset, -static char *get_auth_method_name( guint Number){ +static const char *get_auth_method_name( guint Number){ /* return the name of the authenication method */ @@ -287,7 +287,7 @@ static char *get_auth_method_name( guint Number){ } -static char *get_command_name( guint Number){ +static const char *get_command_name( guint Number){ /* return the name of the command as a string */ |