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
+2
-2
@@ -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