Skip to content

Commit

Permalink
Minor warning fix
Browse files Browse the repository at this point in the history
  • Loading branch information
maxsharabayko committed Oct 5, 2021
1 parent ba0c9ee commit 4088b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion srtcore/buffer_rcv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ namespace {
// Check if iFirstNonreadPos is in range [iStartPos, (iStartPos + iMaxPosInc) % iSize].
// The right edge is included because we expect iFirstNonreadPos to be
// right after the last valid packet position if all packets are available.
bool isInRange(int iStartPos, int iMaxPosInc, int iSize, int iFirstNonreadPos)
bool isInRange(int iStartPos, int iMaxPosInc, size_t iSize, int iFirstNonreadPos)
{
if (iFirstNonreadPos == iStartPos)
return true;
Expand Down

0 comments on commit 4088b79

Please sign in to comment.