char_u *value;
int value_len;
{
- size_t len;
+ int len;
if (redir_lval == NULL)
return;
if (value_len == -1)
- len = STRLEN(value); /* Append the entire string */
+ len = (int)STRLEN(value); /* Append the entire string */
else
- len = value_len; /* Append only "value_len" characters */
+ len = value_len; /* Append only "value_len" characters */
- if (ga_grow(&redir_ga, (int)len) == OK)
+ if (ga_grow(&redir_ga, len) == OK)
{
mch_memmove((char *)redir_ga.ga_data + redir_ga.ga_len, value, len);
- redir_ga.ga_len += (int)len;
+ redir_ga.ga_len += len;
}
else
var_redir_stop();
# if (_MSC_VER <= 1200)
/* This line is required for VC6 without the service pack. Also see the
* matching #pragma below. */
-/* # pragma optimize("", off) */
+ # pragma optimize("", off)
# endif
#endif
#ifdef _MSC_VER
# if (_MSC_VER <= 1200)
-/* # pragma optimize("", on) */
+ # pragma optimize("", on)
# endif
#endif