diff options
author | Mike Williams <mikew@globalgraphics.com> | 2022-07-26 16:03:42 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-07-26 16:03:42 +0100 |
commit | 0494789ecee9e2a973f48426f7a69fb96378fa8a (patch) | |
tree | 16b380c8f121703108d67ca2ccc8080d163609c9 /src/drawline.c | |
parent | 6809ff978a5c5b798952db9fa663df9e1776f3ff (diff) | |
download | vim-git-0494789ecee9e2a973f48426f7a69fb96378fa8a.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drawline.c b/src/drawline.c index 666e32d1c..7b164578c 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; |