Mercurial > vim
changeset 4207:6604853dd822 v7.3.855
updated for version 7.3.855
Problem: Compiler warnings.
Solution: Add type casts. (Mike Williams)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 13 Mar 2013 17:01:52 +0100 |
parents | 22683fa1b4ed |
children | b92c36ba3b34 |
files | src/misc1.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/misc1.c +++ b/src/misc1.c @@ -5468,7 +5468,7 @@ cin_isinit(void) for (i = 0; i < (int)(sizeof(skip) / sizeof(char *)); ++i) { - l = strlen(skip[i]); + l = (int)strlen(skip[i]); if (cin_starts_with(s, skip[i])) { s = cin_skipcomment(s + l); @@ -6430,7 +6430,7 @@ cin_starts_with(s, word) char_u *s; char *word; { - int l = STRLEN(word); + int l = (int)STRLEN(word); return (STRNCMP(s, word, l) == 0 && !vim_isIDc(s[l])); }