From 33d96b7954e6c2398aed183a132fc0bfb8348562 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 5 May 2006 14:30:07 +0000 Subject: [PATCH] update git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1369 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_rtp.c b/src/switch_rtp.c index 1d8d9e648a..391ae9019f 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -817,7 +817,7 @@ static int rtp_common_read(switch_rtp_t *rtp_session, switch_payload_t *payload_ /* RFC2833 ... TBD try harder to honor the duration etc.*/ if (*payload_type == 101) { - unsigned char *packet = rtp_session->recv_msg.body; + unsigned char *packet = (unsigned char *) rtp_session->recv_msg.body; int end = packet[1]&0x80; int duration = (packet[2]<<8) + packet[3]; char key = switch_rfc2833_to_char(packet[0]);