diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-01-14 22:02:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-01-14 22:02:14 +0100 |
commit | 1470dc35c4b14bda1995b7566c9a41a33eb06517 (patch) | |
tree | 71ff167eddf52cb6062194c68cdaa68f6c17e2c2 | |
parent | ca7c078b799bfc96b54e9e41f5be3e0bfefadce5 (diff) | |
download | vim-git-1470dc35c4b14bda1995b7566c9a41a33eb06517.tar.gz |
patch 8.2.0119: message test fails on some platformsv8.2.0119
Problem: Message test fails on some platforms. (Elimar Riesebieter)
Solution: Add type cast to vim_snprintf() argument. (Dominique Pelle)
-rw-r--r-- | src/message_test.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/message_test.c b/src/message_test.c index 38e52c5f8..3397a9cb4 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 4ac40088d..44bfd6bc3 100644 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 119, +/**/ 118, /**/ 117, |