diff options
author | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-06-26 11:18:47 +0000 |
---|---|---|
committer | ulfl <ulfl@f5534014-38df-0310-8fa8-9805f1628bb7> | 2005-06-26 11:18:47 +0000 |
commit | 2b0db06a28e95f9ce02946ee5a1fbe0e67cf772f (patch) | |
tree | d41a19d24e0cecc0a75f208a08d65338c9992726 /epan/dissectors/packet-pgsql.c | |
parent | f384d05f243edd8443a3da8c6cc872f2b3510229 (diff) |
packet-pgsql.c(891) : warning C4090: 'return' : different 'const' qualifiers
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@14779 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-pgsql.c')
-rw-r--r-- | epan/dissectors/packet-pgsql.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-pgsql.c b/epan/dissectors/packet-pgsql.c index 053289cc9b..1d9264ac1a 100644 --- a/epan/dissectors/packet-pgsql.c +++ b/epan/dissectors/packet-pgsql.c @@ -88,7 +88,7 @@ static void dissect_pgsql_fe_msg(guchar, guint, tvbuff_t *, gint, proto_tree *); static void dissect_pgsql_be_msg(guchar, guint, tvbuff_t *, gint, proto_tree *); static void dissect_pgsql_msg(tvbuff_t *, packet_info *, proto_tree *); static void dissect_pgsql(tvbuff_t *, packet_info *, proto_tree *); -static char *identify(gboolean, guchar); +static const char *identify(gboolean, guchar); static guint pgsql_length(tvbuff_t *, int); static const value_string auth_types[] = { @@ -370,7 +370,7 @@ dissect_pgsql_msg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) gint n; guchar type; - char *typestr; + const char *typestr; guint length; gboolean info = check_col(pinfo->cinfo, COL_INFO); gboolean fe = (pinfo->match_port == pinfo->destport); @@ -876,7 +876,7 @@ static void dissect_pgsql_be_msg(guchar type, guint length, tvbuff_t *tvb, directly because of messages without type bytes, and because the type interpretation depends on fe. */ -static char *identify(gboolean fe, guchar type) +static const char *identify(gboolean fe, guchar type) { int i = 0; const value_string *messages; |