From 0494789ecee9e2a973f48426f7a69fb96378fa8a Mon Sep 17 00:00:00 2001 From: Mike Williams Date: Tue, 26 Jul 2022 16:03:42 +0100 Subject: patch 9.0.0080: compiler warning for size_t to int conversion Problem: Compiler warning for size_t to int conversion. Solution: Add type casts. (Mike Williams, closes #10795) --- 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 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; -- cgit v1.2.1