diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-02-29 13:58:47 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-02-29 13:58:47 +0100 |
commit | 4336cdf31860c5b590c2e5188b0abb6d6e030de0 (patch) | |
tree | 6e24c9f9cc37d4f93e364b7e90cc5fb2a8849d97 /src/misc2.c | |
parent | 7f29f7a2f47160acef0477770d3cebf1357470a8 (diff) | |
download | vim-4336cdf31860c5b590c2e5188b0abb6d6e030de0.zip |
updated for version 7.3.459
Problem: Win32: Warnings for type conversion.
Solution: Add type casts. (Mike Williams)
Diffstat (limited to 'src/misc2.c')
-rw-r--r-- | src/misc2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc2.c b/src/misc2.c index 818387650..d62c771cd 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -2074,7 +2074,7 @@ ga_grow(gap, n) n = gap->ga_growsize; new_len = gap->ga_itemsize * (gap->ga_len + n); pp = (gap->ga_data == NULL) - ? alloc(new_len) : vim_realloc(gap->ga_data, new_len); + ? alloc((unsigned)new_len) : vim_realloc(gap->ga_data, new_len); if (pp == NULL) return FAIL; old_len = gap->ga_itemsize * gap->ga_maxlen; |