diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-07-24 08:45:13 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-07-24 08:45:13 +0000 |
commit | 5fdec47ab09a8b190c68096c1cd4fca85c0e0e19 (patch) | |
tree | e663370c8999e466598c3e5fe74b9efd4ae8e5bd /src/eval.c | |
parent | 9cffde9627bf54c1e32212685f3c03a62a132835 (diff) |
updated for version 7.1-034v7.1.034
Diffstat (limited to 'src/eval.c')
-rw-r--r-- | src/eval.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/eval.c b/src/eval.c index e22a61d5a9..6ce7bef76c 100644 --- a/src/eval.c +++ b/src/eval.c @@ -992,20 +992,20 @@ var_redir_str(value, value_len) 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(); |