diff options
Diffstat (limited to 'src/nvim/os/users.c')
-rw-r--r-- | src/nvim/os/users.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/os/users.c b/src/nvim/os/users.c index 1865d6789e..57dc2eb797 100644 --- a/src/nvim/os/users.c +++ b/src/nvim/os/users.c @@ -222,7 +222,7 @@ int match_user(char *name) if (strcmp(((char **)ga_users.ga_data)[i], name) == 0) { return 2; // full match } - if (STRNCMP(((char_u **)ga_users.ga_data)[i], name, n) == 0) { + if (strncmp(((char **)ga_users.ga_data)[i], name, (size_t)n) == 0) { result = 1; // partial match } } |