mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-07-01 23:35:58 +00:00
Fix signed comparison warning on GCC
This commit is contained in:
parent
af1dbfe505
commit
a2f68835f9
@ -170,7 +170,7 @@ static int reconstructFrame(PRTP_VIDEO_QUEUE queue) {
|
||||
unsigned int neededPackets = queue->bufferDataPackets;
|
||||
int ret;
|
||||
|
||||
LC_ASSERT(totalPackets == U16(queue->bufferHighestSequenceNumber - queue->bufferLowestSequenceNumber) + 1);
|
||||
LC_ASSERT(totalPackets == U16(queue->bufferHighestSequenceNumber - queue->bufferLowestSequenceNumber) + 1U);
|
||||
|
||||
#ifdef FEC_VALIDATION_MODE
|
||||
// We'll need an extra packet to run in FEC validation mode, because we will
|
||||
|
Loading…
x
Reference in New Issue
Block a user