From: Bram Moolenaar Date: Mon, 4 Nov 2019 19:36:50 +0000 (+0100) Subject: patch 8.1.2252: compiler warning for int size X-Git-Tag: v8.1.2252 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ade714728ff824f67a9a24ef495d509a389ee2f;p=vim patch 8.1.2252: compiler warning for int size Problem: Compiler warning for int size. Solution: Add type cast. (Mike Williams) --- diff --git a/src/filepath.c b/src/filepath.c index 4ddeeaf45..8da6e1772 100644 --- a/src/filepath.c +++ b/src/filepath.c @@ -79,7 +79,7 @@ get_short_pathname(char_u **fnamep, char_u **bufp, int *fnamelen) vim_free(wfname); vim_free(newbuf); - *fnamelen = l == 0 ? l : STRLEN(*bufp); + *fnamelen = l == 0 ? l : (int)STRLEN(*bufp); return OK; } diff --git a/src/version.c b/src/version.c index 767cbec8b..9b4c386a4 100644 --- a/src/version.c +++ b/src/version.c @@ -741,6 +741,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2252, /**/ 2251, /**/