mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-22 00:31:09 +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) {
|
if (!presentationTimeMs && frameIndex > 0) {
|
||||||
firstPacketPresentationTime = receiveTimeMs - syntheticPtsBase;
|
firstPacketPresentationTime = (unsigned int)(receiveTimeMs - syntheticPtsBase);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
firstPacketPresentationTime = presentationTimeMs;
|
firstPacketPresentationTime = presentationTimeMs;
|
||||||
|
|||||||
Reference in New Issue
Block a user