Mercurial > vim
changeset 1771:1f90fab89ce3 v7.2.069
updated for version 7.2-069
author | vimboss |
---|---|
date | Tue, 09 Dec 2008 21:34:39 +0000 |
parents | 6aea606c9e91 |
children | 42ac369bd824 |
files | src/spell.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/spell.c +++ b/src/spell.c @@ -1765,7 +1765,7 @@ match_checkcompoundpattern(ptr, wlen, ga /* Second part matches at start of following compound word, now * check if first part matches at end of previous word. */ p = ((char_u **)gap->ga_data)[i]; - len = STRLEN(p); + len = (int)STRLEN(p); if (len <= wlen && STRNCMP(ptr + wlen - len, p, len) == 0) return TRUE; }