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:
@@ -7031,7 +7031,8 @@ fix_arg_enc(void)
|
||||
* main.c, so this part add str as literal. */
|
||||
if (literal == FALSE)
|
||||
{
|
||||
int len = STRLEN(str);
|
||||
size_t len = STRLEN(str);
|
||||
|
||||
if (len > 2 && *str == '`' && *(str + len - 1) == '`')
|
||||
literal = TRUE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user