mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:8.0.1428: compiler warning on 64 bit MS-Windows system
Problem: Compiler warning on 64 bit MS-Windows system.
Solution: Change type from "int" to "size_t". (Mike Williams)
200ea8ffaa
This commit is contained in:
parent
8de87c7b1c
commit
a00247e147
@ -1787,7 +1787,7 @@ static int command_line_not_changed(CommandLineState *s)
|
|||||||
/// as a trailing \|, which can happen while typing a pattern.
|
/// as a trailing \|, which can happen while typing a pattern.
|
||||||
static int empty_pattern(char_u *p)
|
static int empty_pattern(char_u *p)
|
||||||
{
|
{
|
||||||
int n = STRLEN(p);
|
size_t n = STRLEN(p);
|
||||||
|
|
||||||
// remove trailing \v and the like
|
// remove trailing \v and the like
|
||||||
while (n >= 2 && p[n - 2] == '\\'
|
while (n >= 2 && p[n - 2] == '\\'
|
||||||
|
Loading…
Reference in New Issue
Block a user