aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorpascal <pascal@localhost>2012-04-12 10:08:38 +0000
committerpascal <pascal@localhost>2012-04-12 10:08:38 +0000
commit9f70eb0ca669551660fb1dddb62abdc932a76361 (patch)
treef1e6bf715cf60475798a13cf22bf0dac538b34cb /epan
parent7f6a40b810ba991bc2b35f74ea6998b92de59048 (diff)
From Nick Lowe:
Use correct return type for tvb_get_ephemeral_string https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=1450 svn path=/trunk/; revision=42034
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-irc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-irc.c b/epan/dissectors/packet-irc.c
index 879c721c4e..c86ee80edc 100644
--- a/epan/dissectors/packet-irc.c
+++ b/epan/dissectors/packet-irc.c
@@ -77,7 +77,7 @@ static const guint8 TAG_DELIMITER[] = {0x01};
/* good candidate for dynamic port specification */
static void
-dissect_irc_tag_data(proto_tree *tree, proto_item *item, tvbuff_t *tvb, int offset, int datalen, packet_info *pinfo, char* command)
+dissect_irc_tag_data(proto_tree *tree, proto_item *item, tvbuff_t *tvb, int offset, int datalen, packet_info *pinfo, guint8* command)
{
guchar found_start_needle = 0,
found_end_needle = 0;
@@ -117,7 +117,7 @@ dissect_irc_request(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int off
eoc_offset = -1,
eocp_offset,
tag_start_offset, tag_end_offset;
- char* str_command;
+ guint8* str_command;
guchar found_needle = 0,
found_tag_needle = 0;
gboolean first_command_param = TRUE;
@@ -269,7 +269,7 @@ dissect_irc_response(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int of
eoc_offset = -1,
eocp_offset,
tag_start_offset, tag_end_offset;
- char* str_command;
+ guint8* str_command;
guint16 num_command;
guchar found_needle = 0,
found_tag_needle = 0;