aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-aim-chat.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-aim-chat.c')
-rw-r--r--epan/dissectors/packet-aim-chat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-aim-chat.c b/epan/dissectors/packet-aim-chat.c
index 0bba5cd626..8c2cd27fef 100644
--- a/epan/dissectors/packet-aim-chat.c
+++ b/epan/dissectors/packet-aim-chat.c
@@ -86,8 +86,8 @@ static int dissect_aim_chat_outgoing_msg(tvbuff_t *tvb, packet_info *pinfo, prot
guchar *msg;
int buddyname_length;
- buddyname=ep_alloc(MAX_BUDDYNAME_LENGTH+1);
- msg=ep_alloc(1000);
+ buddyname=(guchar *)ep_alloc(MAX_BUDDYNAME_LENGTH+1);
+ msg=(guchar *)ep_alloc(1000);
buddyname_length = aim_get_buddyname( buddyname, tvb, 30, 31 );
/* channel message from client */
@@ -107,8 +107,8 @@ static int dissect_aim_chat_incoming_msg(tvbuff_t *tvb, packet_info *pinfo, prot
/* channel message to client */
int buddyname_length;
- buddyname=ep_alloc(MAX_BUDDYNAME_LENGTH+1);
- msg=ep_alloc(1000);
+ buddyname=(guchar *)ep_alloc(MAX_BUDDYNAME_LENGTH+1);
+ msg=(guchar *)ep_alloc(1000);
buddyname_length = aim_get_buddyname( buddyname, tvb, 30, 31 );
aim_get_message( msg, tvb, 36 + buddyname_length, tvb_length(tvb)