forked from aniani/vim
patch 8.0.0888: compiler warnings with 64 bit build
Problem: Compiler warnings with 64 bit build. Solution: Add type cast of change the type. (Mike Williams)
This commit is contained in:
@@ -453,8 +453,9 @@ slash_adjust(char_u *p)
|
||||
|
||||
if (*p == '`')
|
||||
{
|
||||
size_t len = STRLEN(p);
|
||||
|
||||
/* don't replace backslash in backtick quoted strings */
|
||||
int len = STRLEN(p);
|
||||
if (len > 2 && *(p + len - 1) == '`')
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user