Skip to content

Commit

Permalink
use uint32_t type for ssrc
Browse files Browse the repository at this point in the history
  • Loading branch information
jmillan committed Jan 11, 2024
1 parent 9d75577 commit 4dce2af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions srtp/srtp.c
Original file line number Diff line number Diff line change
Expand Up @@ -5009,7 +5009,7 @@ srtp_err_status_t srtp_stream_list_insert(srtp_stream_list_t list,
}

// fill the first available entry
size_t next_index = list->size - list->available;
unsigned int next_index = list->size - list->available;
list->entries[next_index].ssrc = stream->ssrc;
list->entries[next_index].stream = stream;

Expand Down Expand Up @@ -5062,7 +5062,7 @@ void srtp_stream_list_for_each(srtp_stream_list_t list,
{
list_entry *entries = list->entries;

unsigned int ssrc;
uint32_t ssrc;

/*
* the second statement of the expression needs to be recalculated on each
Expand Down

0 comments on commit 4dce2af

Please sign in to comment.