fix: varying size between 32bit and 64bit in command receive

This commit is contained in:
Tobias Reisinger 2020-04-14 02:46:27 +02:00
parent 0a684f687a
commit ba70677393

View file

@ -67,7 +67,7 @@ handler_command(int fd, controller_t *controller)
return;
}
size_t payload_length;
uint32_t payload_length;
if(recv(client_fd, &payload_length, sizeof(payload_length), 0) <= 0)
{