Problem: Compiler warnings for using STRLEN() value.
Solution: Cast to int. (Christian Brabandt, Mike Williams)
if (tv->v_type != VAR_STRING || tv->vval.v_string == NULL)
continue;
- len += STRLEN(tv->vval.v_string) + 1; // Space for "\tVALUE"
+ len += (int)STRLEN(tv->vval.v_string) + 1; // Space for "\tVALUE"
if (!STRCMP(dict_key, "name"))
{
res_name = tv->vval.v_string;
}
// Other elements will be stored as "\tKEY:VALUE"
// Allocate space for the key and the colon
- len += STRLEN(dict_key) + 1;
+ len += (int)STRLEN(dict_key) + 1;
}
if (has_extra)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1235,
/**/
1234,
/**/