From aa28e070e9f953c26405d765addd9f780ede2c5a Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Fri, 19 Jul 2019 09:12:58 +0200 Subject: refactor: use int for Columns and Rows --- src/nvim/quickfix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/quickfix.c') diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 6779f4e05d..e030d66e41 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -2654,7 +2654,7 @@ static void qf_msg(qf_info_T *qi, int which, char *lead) } xstrlcat((char *)buf, title, IOSIZE); } - trunc_string(buf, buf, (int)Columns - 1, IOSIZE); + trunc_string(buf, buf, Columns - 1, IOSIZE); msg(buf); } -- cgit