mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-26 05:49:59 +00:00
Fix integer truncation warning on MSVC
This commit is contained in:
1 parent
5c7a5ce129
commit
9da6329496
1 file changed
+1
-1
@@ -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