mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-08 00:36:30 +00:00
Fix various MSVC warnings
This commit is contained in:
@@ -742,12 +742,12 @@ static void controlReceiveThreadFunc(void* context) {
|
||||
else {
|
||||
// What do we do here???
|
||||
LC_ASSERT(false);
|
||||
packetLength = event.packet->dataLength;
|
||||
packetLength = (int)event.packet->dataLength;
|
||||
}
|
||||
}
|
||||
else {
|
||||
// Take ownership of the packet data directly for the non-encrypted case
|
||||
packetLength = event.packet->dataLength;
|
||||
packetLength = (int)event.packet->dataLength;
|
||||
event.packet->data = NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user