mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-20 23:20:17 +00:00
Fix various MSVC warnings
This commit is contained in:
@@ -256,7 +256,7 @@ static void ReceiveThreadProc(void* context) {
|
||||
Limelog("Received first audio packet after %d ms\n", waitingForAudioMs);
|
||||
|
||||
if (firstReceiveTime != 0) {
|
||||
packetsToDrop = (PltGetMillis() - firstReceiveTime) / AudioPacketDuration;
|
||||
packetsToDrop = (uint32_t)(PltGetMillis() - firstReceiveTime) / AudioPacketDuration;
|
||||
Limelog("Initial audio resync period: %d milliseconds\n", packetsToDrop * AudioPacketDuration);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user