Fix integer truncation warning on MSVC

This commit is contained in:
Cameron Gutman committed 2022-12-06 17:33:43 -06:00
1 parent 5c7a5ce129
commit 9da6329496
1 file changed
+1 -1
+1 -1
View File
@@ -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;