diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2022-09-26 13:49:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-26 13:49:56 +0000 |
commit | 71cb1ad68707718671ef57c901dfa2041f15bbe6 (patch) | |
tree | 71f0cb5819b66a0864e1044678492ea044beed3c /cli | |
parent | 570a716100f313026c127e9dbf3b9c65e423e3a3 (diff) |
Fix warnings during compilation time on ARM (32 bits) (#13681)
Diffstat (limited to 'cli')
-rw-r--r-- | cli/cli.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -78,7 +78,7 @@ static void pipe_read_cb(uv_stream_t *client, ssize_t nread, const uv_buf_t *buf } else if (nread) { size_t to_copy; - to_copy = MIN(nread, MAX_COMMAND_LENGTH - 1 - response_string_size); + to_copy = MIN((unsigned int) nread, MAX_COMMAND_LENGTH - 1 - response_string_size); memcpy(response_string + response_string_size, buf->base, to_copy); response_string_size += to_copy; response_string[response_string_size] = '\0'; |