Problem: Compiler warning for size_t to int conversion.
Solution: Add type casts. (Mike Williams, closes #10795)
char_u *p = ((char_u **)wp->w_buffer->b_textprop_text.ga_data)[
-tp->tp_id - 1];
// TODO: count screen cells
- cts->cts_cur_text_width = STRLEN(p);
+ cts->cts_cur_text_width = (int)STRLEN(p);
size += cts->cts_cur_text_width;
break;
}
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;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 80,
/**/
79,
/**/