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-sip.c | |
parent | 63728d5770c3eae2cbc2130454eca1188c8c12e5 (diff) |
More char -> const char warning fixes
svn path=/trunk/; revision=15218
Diffstat (limited to 'epan/dissectors/packet-sip.c')
-rw-r--r-- | epan/dissectors/packet-sip.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-sip.c b/epan/dissectors/packet-sip.c index 76fb97ca2d..2fc1014564 100644 --- a/epan/dissectors/packet-sip.c +++ b/epan/dissectors/packet-sip.c @@ -125,8 +125,8 @@ static const char *sip_methods[] = { * Updated with: http://www.ietf.org/internet-drafts/draft-ietf-sip-resource-priority-05.txt */ typedef struct { - char *name; - char *compact_name; + const char *name; + const char *compact_name; } sip_header_t; static const sip_header_t sip_headers[] = { { "Unknown-header", NULL }, /* 0 Pad so that the real headers start at index 1 */ @@ -992,7 +992,7 @@ dissect_sip_common(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, tvbuff_t *next_tvb; gboolean is_known_request; gboolean found_match = FALSE; - char *descr; + const char *descr; guint token_1_len = 0; guint current_method_idx = 0; proto_item *ts = NULL, *ti = NULL, *th = NULL, *sip_element_item = NULL; |