# HG changeset patch # User Christian Brabandt # Date 1537894806 -7200 # Node ID 9c94cfe5dd31f2960a05fc720e092d1e92c6e5a5 # Parent 5fabc1a929e4a25a77ff64832f4cb6594afefa1b patch 8.1.0432: compiler warning for signed/unsigned commit https://github.com/vim/vim/commit/45c5c86e636edef8ed08d47bf8724efc05108030 Author: Bram Moolenaar Date: Tue Sep 25 18:59:21 2018 +0200 patch 8.1.0432: compiler warning for signed/unsigned Problem: Compiler warning for signed/unsigned. Solution: Add type cast. (Mike Williams) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -795,6 +795,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 432, +/**/ 431, /**/ 430, diff --git a/src/xdiff/xemit.c b/src/xdiff/xemit.c --- a/src/xdiff/xemit.c +++ b/src/xdiff/xemit.c @@ -31,7 +31,7 @@ static long xdl_get_rec(xdfile_t *xdf, l static int xdl_emit_record(xdfile_t *xdf, long ri, char const *pre, xdemitcb_t *ecb) { - long size, psize = strlen(pre); + long size, psize = (long)strlen(pre); char const *rec; size = xdl_get_rec(xdf, ri, &rec);