Mercurial > vim
diff src/spell.c @ 1771:1f90fab89ce3 v7.2.069
updated for version 7.2-069
author | vimboss |
---|---|
date | Tue, 09 Dec 2008 21:34:39 +0000 |
parents | 158a68529622 |
children | e2d7622d7089 |
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; }