mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-11-30 01:34:05 +00:00
Fix various MSVC warnings
This commit is contained in:
1 parent
77ed77b93b
commit
da68e64d9b
8 files changed
+28
-15
No files matched your search
+1
-1
@@ -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