mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 13:38:34 +00:00
*: Fix some Windows-specific warnings
Also fixed an error in path_fnamecmp().
This commit is contained in:
@@ -174,7 +174,7 @@ static char_u *skip_string(char_u *p)
|
||||
char_u *paren = vim_strchr(delim, '(');
|
||||
|
||||
if (paren != NULL) {
|
||||
ptrdiff_t delim_len = paren - delim;
|
||||
const ptrdiff_t delim_len = paren - delim;
|
||||
|
||||
for (p += 3; *p; ++p)
|
||||
if (p[0] == ')' && STRNCMP(p + 1, delim, delim_len) == 0
|
||||
|
Reference in New Issue
Block a user