diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-06-07 20:44:48 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-06-08 21:13:33 -0400 |
commit | 392b3396fd2218b1de7fedf49a834a471431be29 (patch) | |
tree | 069864ac2595757b1710dc7c47b1ffbabcc508d7 /src/nvim/edit.c | |
parent | 3bcbf802cea28e5f3632b7a226e46d6b8efa3668 (diff) | |
download | rneovim-392b3396fd2218b1de7fedf49a834a471431be29.tar.gz rneovim-392b3396fd2218b1de7fedf49a834a471431be29.tar.bz2 rneovim-392b3396fd2218b1de7fedf49a834a471431be29.zip |
vim-patch:8.0.0541: compiler warning on MS-Windows
Problem: Compiler warning on MS-Windows.
Solution: Add a type cast. (Mike Williams)
https://github.com/vim/vim/commit/04000560ca81cc2608b291d0990e661b41ca8c68
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 90b88ce82d..c69af9a692 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -7554,7 +7554,7 @@ static bool ins_bs(int c, int mode, int *inserted_space_p) return false; } Insstart.lnum--; - Insstart.col = STRLEN(ml_get(Insstart.lnum)); + Insstart.col = (colnr_T)STRLEN(ml_get(Insstart.lnum)); } /* * In replace mode: |