Mercurial > vim
comparison src/ex_getln.c @ 2931:f2c108f44f41 v7.3.238
updated for version 7.3.238
Problem: Compiler warning for conversion.
Solution: Add type cast. (Mike Williams)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 07 Jul 2011 15:04:52 +0200 |
parents | e3bb93df6c34 |
children | 0a650db02653 |
comparison
equal
deleted
inserted
replaced
2930:c45a38bd18a9 | 2931:f2c108f44f41 |
---|---|
5023 int i; | 5023 int i; |
5024 int pat_len; | 5024 int pat_len; |
5025 | 5025 |
5026 *num_file = 0; | 5026 *num_file = 0; |
5027 *file = NULL; | 5027 *file = NULL; |
5028 pat_len = STRLEN(pat); | 5028 pat_len = (int)STRLEN(pat); |
5029 ga_init2(&ga, (int)sizeof(char *), 10); | 5029 ga_init2(&ga, (int)sizeof(char *), 10); |
5030 | 5030 |
5031 for (i = 0; dirnames[i] != NULL; ++i) | 5031 for (i = 0; dirnames[i] != NULL; ++i) |
5032 { | 5032 { |
5033 s = alloc((unsigned)(STRLEN(dirnames[i]) + pat_len + 7)); | 5033 s = alloc((unsigned)(STRLEN(dirnames[i]) + pat_len + 7)); |