From 9355ae41497cbcce58ddd79f9125eb3e9dfe0a43 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 8 Mar 2021 19:04:05 +0100 Subject: patch 8.2.2577: compiler warning for type conversion Problem: Compiler warning for type conversion. Solution: Add a typecast. (Mike Williams) --- src/drawline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/drawline.c') diff --git a/src/drawline.c b/src/drawline.c index 03a229eaec..fcb996b4b9 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -1034,7 +1034,7 @@ win_line( p_extra_free = alloc(MAX_MCO * fdc + 1); if (p_extra_free != NULL) { - n_extra = fill_foldcolumn(p_extra_free, wp, + n_extra = (int)fill_foldcolumn(p_extra_free, wp, FALSE, lnum); p_extra_free[n_extra] = NUL; p_extra = p_extra_free; -- cgit v1.2.3