Remove usage of long types for LP64 and LLP64 consistency

This commit is contained in:
Cameron Gutman
2020-12-05 16:51:03 -06:00
parent 333382ae74
commit 0ead0df2a1
5 changed files with 11 additions and 11 deletions

View File

@@ -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) {