mirror of
https://github.com/neovim/neovim.git
synced 2025-09-11 05:48:17 +00:00
*: Move some dictionary functions to typval.h and use char*
Also fixes buffer reusage in setmatches() and complete().
This commit is contained in:
@@ -1586,7 +1586,7 @@ static int diff_cmp(char_u *s1, char_u *s2)
|
||||
}
|
||||
|
||||
if ((diff_flags & DIFF_ICASE) && !(diff_flags & DIFF_IWHITE)) {
|
||||
return mb_stricmp(s1, s2);
|
||||
return mb_stricmp((const char *)s1, (const char *)s2);
|
||||
}
|
||||
|
||||
// Ignore white space changes and possibly ignore case.
|
||||
|
Reference in New Issue
Block a user