mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-03 06:16:04 +00:00
Fix integer truncation warning on MSVC
This commit is contained in:
@@ -764,7 +764,7 @@ static void processRtpPayload(PNV_VIDEO_PACKET videoPacket, int length,
|
||||
}
|
||||
|
||||
if (!presentationTimeMs && frameIndex > 0) {
|
||||
firstPacketPresentationTime = receiveTimeMs - syntheticPtsBase;
|
||||
firstPacketPresentationTime = (unsigned int)(receiveTimeMs - syntheticPtsBase);
|
||||
}
|
||||
else {
|
||||
firstPacketPresentationTime = presentationTimeMs;
|
||||
|
||||
Reference in New Issue
Block a user