mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-29 01:04:41 +00:00
Change frameHeaderSize to uint32_t to avoid warning from promotion to signed int
This commit is contained in:
1 parent
9205a87002
commit
49fef03830
1 file changed
+1
-1
@@ -817,7 +817,7 @@ static void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length,
|
||||
lastPacketInStream = streamPacketIndex;
|
||||
|
||||
// If this is the first packet, skip the frame header (if one exists)
|
||||
uint8_t frameHeaderSize;
|
||||
uint32_t frameHeaderSize;
|
||||
if (firstPacket) {
|
||||
// Parse the frame type from the header
|
||||
if (APP_VERSION_AT_LEAST(7, 1, 350)) {
|
||||
|
||||
Reference in new issue
Block a user