From ccce21be4f51e65827ea63ba42ed2275eb394b86 Mon Sep 17 00:00:00 2001 From: Russell Bryant Date: Wed, 31 Jan 2007 17:41:51 +0000 Subject: [PATCH] Use the proper format string to print unsigned values in the rtp debug output. (issue #8954, wmis) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@53039 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtp.c b/rtp.c index dfdfb88ef4..13dab38dcc 100644 --- a/rtp.c +++ b/rtp.c @@ -522,7 +522,7 @@ struct ast_frame *ast_rtp_read(struct ast_rtp *rtp) } if(rtp_debug_test_addr(&sin)) - ast_verbose("Got RTP packet from %s:%d (type %d, seq %d, ts %d, len %d)\n" + ast_verbose("Got RTP packet from %s:%u (type %d, seq %u, ts %u, len %d)\n" , ast_inet_ntoa(iabuf, sizeof(iabuf), sin.sin_addr), ntohs(sin.sin_port), payloadtype, seqno, timestamp,res - hdrlen); rtpPT = ast_rtp_lookup_pt(rtp, payloadtype);