diff --git a/handlers/command.c b/handlers/command.c index b674817..be5e23b 100644 --- a/handlers/command.c +++ b/handlers/command.c @@ -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) {