summaryrefslogtreecommitdiffstats
path: root/src/drawline.c
diff options
context:
space:
mode:
authorMike Williams <mikew@globalgraphics.com>2022-07-26 16:03:42 +0100
committerBram Moolenaar <Bram@vim.org>2022-07-26 16:03:42 +0100
commit0494789ecee9e2a973f48426f7a69fb96378fa8a (patch)
tree16b380c8f121703108d67ca2ccc8080d163609c9 /src/drawline.c
parent6809ff978a5c5b798952db9fa663df9e1776f3ff (diff)
patch 9.0.0080: compiler warning for size_t to int conversionv9.0.0080
Problem: Compiler warning for size_t to int conversion. Solution: Add type casts. (Mike Williams, closes #10795)
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 666e32d1c8..7b164578c3 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -1524,7 +1524,7 @@ win_line(
if (p != NULL)
{
p_extra = p;
- n_extra = STRLEN(p);
+ n_extra = (int)STRLEN(p);
extra_attr = used_attr;
n_attr = n_extra;
text_prop_attr = 0;