Mercurial > vim
comparison src/version.c @ 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 | cb185366f5c8 |
children | b97109760603 |
comparison
equal
deleted
inserted
replaced
4159:8b86b69546a9 | 4160:670e576a58d1 |
---|---|
727 }; | 727 }; |
728 | 728 |
729 static int included_patches[] = | 729 static int included_patches[] = |
730 { /* Add new patch number below this line */ | 730 { /* Add new patch number below this line */ |
731 /**/ | 731 /**/ |
732 832, | |
733 /**/ | |
732 831, | 734 831, |
733 /**/ | 735 /**/ |
734 830, | 736 830, |
735 /**/ | 737 /**/ |
736 829, | 738 829, |
2464 | 2466 |
2465 /* Find the length of the longest feature name, use that + 1 as the column | 2467 /* Find the length of the longest feature name, use that + 1 as the column |
2466 * width */ | 2468 * width */ |
2467 for (i = 0; features[i] != NULL; ++i) | 2469 for (i = 0; features[i] != NULL; ++i) |
2468 { | 2470 { |
2469 int l = STRLEN(features[i]); | 2471 int l = (int)STRLEN(features[i]); |
2470 | 2472 |
2471 if (l > width) | 2473 if (l > width) |
2472 width = l; | 2474 width = l; |
2473 ++nfeat; | 2475 ++nfeat; |
2474 } | 2476 } |
2516 } | 2518 } |
2517 else | 2519 else |
2518 msg_putchar('\n'); | 2520 msg_putchar('\n'); |
2519 } | 2521 } |
2520 } | 2522 } |
2523 | |
2521 void | 2524 void |
2522 list_version() | 2525 list_version() |
2523 { | 2526 { |
2524 int i; | 2527 int i; |
2525 int first; | 2528 int first; |