From 8bbdef1fd83db623d5b7c5a254cba7a9e2bce99e Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Fri, 3 Mar 2017 00:15:42 +0100 Subject: buffer.c: enable -Wconversion #3744 --- src/nvim/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/buffer.c') diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index d6f35bd6c2..1358d8e378 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -3839,7 +3839,7 @@ int build_stl_str_hl( // { Reduce the number by base^n while (num_chars-- > maxwid) { - num /= base; + num /= (long)base; } // } -- cgit