From 7712626a02bd045bca8134df4dde9d7065d84ba4 Mon Sep 17 00:00:00 2001 From: Jeff Lenk Date: Fri, 27 Dec 2013 14:52:28 -0600 Subject: [PATCH] fix trivial compiler warning for last commit --- 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 560647daf9..7c0dbcc2e0 100644 --- a/src/switch_rtp.c +++ b/src/switch_rtp.c @@ -4206,7 +4206,7 @@ static int rtp_common_write(switch_rtp_t *rtp_session, if (send_msg) { bytes = datalen; - m = send_msg->header.m; + m = (uint8_t) send_msg->header.m; if (flags && *flags & SFF_RFC2833) { send_msg->header.pt = rtp_session->te;