Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions srtp/srtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -664,7 +664,8 @@ static srtp_err_status_t srtp_stream_clone(
srtp_session_keys_t *session_keys = NULL;
const srtp_session_keys_t *template_session_keys = NULL;

debug_print(mod_srtp, "cloning stream (SSRC: 0x%08x)", ntohl(ssrc));
debug_print(mod_srtp, "cloning stream (SSRC: 0x%08x)",
(unsigned int)ntohl(ssrc));

/* allocate srtp stream and set str_ptr */
str = (srtp_stream_ctx_t *)srtp_crypto_alloc(sizeof(srtp_stream_ctx_t));
Expand Down Expand Up @@ -2782,7 +2783,7 @@ srtp_err_status_t srtp_unprotect_mki(srtp_ctx_t *ctx,
if (ctx->stream_template != NULL) {
stream = ctx->stream_template;
debug_print(mod_srtp, "using provisional stream (SSRC: 0x%08x)",
ntohl(hdr->ssrc));
(unsigned int)ntohl(hdr->ssrc));

/*
* set estimated packet index to sequence number from header,
Expand Down Expand Up @@ -4547,7 +4548,7 @@ srtp_err_status_t srtp_unprotect_rtcp_mki(srtp_t ctx,

debug_print(mod_srtp,
"srtcp using provisional stream (SSRC: 0x%08x)",
ntohl(hdr->ssrc));
(unsigned int)ntohl(hdr->ssrc));
} else {
/* no template stream, so we return an error */
return srtp_err_status_no_ctx;
Expand Down
Loading