From: Bram Moolenaar Date: Tue, 14 Jan 2020 21:02:14 +0000 (+0100) Subject: patch 8.2.0119: message test fails on some platforms X-Git-Tag: v8.2.0119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1470dc35c4b14bda1995b7566c9a41a33eb06517;p=thirdparty%2Fvim.git patch 8.2.0119: message test fails on some platforms Problem: Message test fails on some platforms. (Elimar Riesebieter) Solution: Add type cast to vim_snprintf() argument. (Dominique Pelle) --- diff --git a/src/message_test.c b/src/message_test.c index 38e52c5f8a..3397a9cb47 100644 --- a/src/message_test.c +++ b/src/message_test.c @@ -166,7 +166,7 @@ test_vim_snprintf(void) assert(bsize == 0 || STRNCMP(buf, "deadbeef", bsize_int) == 0); assert(bsize == 0 || buf[MIN(n, bsize_int)] == '\0'); - n = vim_snprintf(buf, bsize, fmt_06b, 12); + n = vim_snprintf(buf, bsize, fmt_06b, (uvarnumber_T)12); assert(n == 6); assert(bsize == 0 || STRNCMP(buf, "001100", bsize_int) == 0); assert(bsize == 0 || buf[MIN(n, bsize_int)] == '\0'); diff --git a/src/version.c b/src/version.c index 4ac40088d5..44bfd6bc32 100644 --- 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 */ +/**/ + 119, /**/ 118, /**/