mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-17 05:39:53 +00:00
Remove usage of long types for LP64 and LLP64 consistency
This commit is contained in:
@@ -332,7 +332,7 @@ static void inputSendThreadProc(void* context) {
|
||||
}
|
||||
|
||||
// Prepend the length to the message
|
||||
encryptedLengthPrefix = htonl((unsigned long)encryptedSize);
|
||||
encryptedLengthPrefix = htonl((uint32_t)encryptedSize);
|
||||
memcpy(&encryptedBuffer[0], &encryptedLengthPrefix, 4);
|
||||
|
||||
if (AppVersionQuad[0] < 5) {
|
||||
|
||||
Reference in New Issue
Block a user