aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/strings.c
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2022-09-09 21:49:41 +0200
committerGitHub <noreply@github.com>2022-09-09 21:49:41 +0200
commit2f385d17a027d132bf2308dd5b1b0c8ce862e761 (patch)
tree2814462ea918c649852cc0c6f942a09f77998aad /src/nvim/strings.c
parent9b0e1256e25d387bf65cb9baa1edd99fbc128724 (diff)
parentc5322e752e9e568de907f7a1ef733bbfe342140c (diff)
downloadrneovim-2f385d17a027d132bf2308dd5b1b0c8ce862e761.tar.gz
rneovim-2f385d17a027d132bf2308dd5b1b0c8ce862e761.tar.bz2
rneovim-2f385d17a027d132bf2308dd5b1b0c8ce862e761.zip
Merge pull request #20057 from dundargoc/refactor/char_u/9
refactor: replace char_u with char 9: remove `STRCMP`
Diffstat (limited to 'src/nvim/strings.c')
-rw-r--r--src/nvim/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/strings.c b/src/nvim/strings.c
index 04f9311d7e..ee6172e7fc 100644
--- a/src/nvim/strings.c
+++ b/src/nvim/strings.c
@@ -460,7 +460,7 @@ char *vim_strchr(const char *const string, const int c)
static int sort_compare(const void *s1, const void *s2)
FUNC_ATTR_NONNULL_ALL
{
- return STRCMP(*(char **)s1, *(char **)s2);
+ return strcmp(*(char **)s1, *(char **)s2);
}
void sort_strings(char **files, int count)