mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-07-02 15:56:02 +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;
|
unsigned int neededPackets = queue->bufferDataPackets;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
LC_ASSERT(totalPackets == U16(queue->bufferHighestSequenceNumber - queue->bufferLowestSequenceNumber) + 1);
|
LC_ASSERT(totalPackets == U16(queue->bufferHighestSequenceNumber - queue->bufferLowestSequenceNumber) + 1U);
|
||||||
|
|
||||||
#ifdef FEC_VALIDATION_MODE
|
#ifdef FEC_VALIDATION_MODE
|
||||||
// We'll need an extra packet to run in FEC validation mode, because we will
|
// We'll need an extra packet to run in FEC validation mode, because we will
|
||||||
|
Loading…
x
Reference in New Issue
Block a user