Problem: Compiler warnings for integer sizes.
Solution: Add type casts. (Mike Williams)
vterm_color_rgb(
col,
ansi_colors[idx].red, ansi_colors[idx].green, ansi_colors[idx].blue);
- col->index = idx;
+ col->index = (uint8_t)idx;
col->type = VTERM_COLOR_INDEXED;
}
if(argcount < 3)
return argcount;
- vterm_color_rgb(col, CSI_ARG(args[0]), CSI_ARG(args[1]), CSI_ARG(args[2]));
+ vterm_color_rgb(col, (uint8_t)CSI_ARG(args[0]), (uint8_t)CSI_ARG(args[1]), (uint8_t)CSI_ARG(args[2]));
return 3;
return 1;
}
mch_memmove((char *)gap->ga_data + gap->ga_len, frag.str, frag.len);
- gap->ga_len += frag.len;
+ gap->ga_len += (int)frag.len;
if (!frag.final)
return 1;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 831,
/**/
830,
/**/