summaryrefslogtreecommitdiffstats
path: root/src/drawline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-03-08 19:04:05 +0100
committerBram Moolenaar <Bram@vim.org>2021-03-08 19:04:05 +0100
commit9355ae41497cbcce58ddd79f9125eb3e9dfe0a43 (patch)
tree654fb8b4a4a9c23a0689e8dfeba7b9a311084c1b /src/drawline.c
parent608d78fb45077fbaf6dc880b754a1d8a54ac9999 (diff)
patch 8.2.2577: compiler warning for type conversionv8.2.2577
Problem: Compiler warning for type conversion. Solution: Add a typecast. (Mike Williams)
Diffstat (limited to 'src/drawline.c')
-rw-r--r--src/drawline.c2
1 files changed, 1 insertions, 1 deletions
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;