vim-patch:8.0.0541: compiler warning on MS-Windows

Problem:    Compiler warning on MS-Windows.
Solution:   Add a type cast. (Mike Williams)
04000560ca
This commit is contained in:
Jan Edmund Lazo 2018-06-07 20:44:48 -04:00
parent 3bcbf802ce
commit 392b3396fd

View File

@ -7554,7 +7554,7 @@ static bool ins_bs(int c, int mode, int *inserted_space_p)
return false; return false;
} }
Insstart.lnum--; Insstart.lnum--;
Insstart.col = STRLEN(ml_get(Insstart.lnum)); Insstart.col = (colnr_T)STRLEN(ml_get(Insstart.lnum));
} }
/* /*
* In replace mode: * In replace mode: