Mercurial > vim
changeset 4160:670e576a58d1 v7.3.832
updated for version 7.3.832
Problem: Compiler warning.
Solution: Add type cast. (Mike Williams)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 26 Feb 2013 11:25:33 +0100 |
parents | 8b86b69546a9 |
children | 820edca36cf9 |
files | src/version.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 832, +/**/ 831, /**/ 830, @@ -2466,7 +2468,7 @@ list_features() * width */ for (i = 0; features[i] != NULL; ++i) { - int l = STRLEN(features[i]); + int l = (int)STRLEN(features[i]); if (l > width) width = l; @@ -2518,6 +2520,7 @@ list_features() msg_putchar('\n'); } } + void list_version() {