# HG changeset patch # User Bram Moolenaar # Date 1572896704 -3600 # Node ID 9676dc5fd7056325b0fa2acd9fde990b6031537f # Parent 66bf9aca64121a6de20fc2eb12ec3e95cec0ce18 patch 8.1.2252: compiler warning for int size Commit: https://github.com/vim/vim/commit/2ade714728ff824f67a9a24ef495d509a389ee2f Author: Bram Moolenaar Date: Mon Nov 4 20:36:50 2019 +0100 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 --- a/src/filepath.c +++ b/src/filepath.c @@ -79,7 +79,7 @@ get_short_pathname(char_u **fnamep, char 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 --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2252, +/**/ 2251, /**/ 2250,