From 392b3396fd2218b1de7fedf49a834a471431be29 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Thu, 7 Jun 2018 20:44:48 -0400 Subject: 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 --- src/nvim/edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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: -- cgit