From: Russell Bryant Date: Wed, 31 Jan 2007 17:41:51 +0000 (+0000) Subject: Use the proper format string to print unsigned values in the rtp debug output. X-Git-Tag: 1.2.15~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccce21be4f51e65827ea63ba42ed2275eb394b86;p=thirdparty%2Fasterisk.git 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 --- 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);