diff options
Diffstat (limited to '')
-rw-r--r-- | client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client.c b/client.c index 9ff192e..9be5a62 100644 --- a/client.c +++ b/client.c @@ -294,7 +294,7 @@ static int wordcmp(const char *line, size_t i, const char *word) { size_t len = strcspn(line, " "); return len == strlen(word) ? strncmp(line, word, len) - : len - strlen(word); + : (int)len - (int)strlen(word); } static size_t strlcpyn(char *dst, const char *src, size_t cap, size_t len) { |