• R/O
  • SSH

vim: Commit

Mirror of the Vim source from https://github.com/vim/vim


Commit MetaInfo

Revision7816aa44c1458598cdd24422839464cd54896e03 (tree)
Time2020-01-15 06:15:03
AuthorBram Moolenaar <Bram@vim....>
CommiterBram Moolenaar

Log Message

patch 8.2.0119: message test fails on some platforms

Commit: https://github.com/vim/vim/commit/1470dc35c4b14bda1995b7566c9a41a33eb06517
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 14 22:02:14 2020 +0100

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)

Change Summary

Incremental Difference

diff -r d121c649119f -r 7816aa44c145 src/message_test.c
--- a/src/message_test.c Tue Jan 14 20:45:05 2020 +0100
+++ b/src/message_test.c Tue Jan 14 22:15:03 2020 +0100
@@ -166,7 +166,7 @@
166166 assert(bsize == 0 || STRNCMP(buf, "deadbeef", bsize_int) == 0);
167167 assert(bsize == 0 || buf[MIN(n, bsize_int)] == '\0');
168168
169- n = vim_snprintf(buf, bsize, fmt_06b, 12);
169+ n = vim_snprintf(buf, bsize, fmt_06b, (uvarnumber_T)12);
170170 assert(n == 6);
171171 assert(bsize == 0 || STRNCMP(buf, "001100", bsize_int) == 0);
172172 assert(bsize == 0 || buf[MIN(n, bsize_int)] == '\0');
diff -r d121c649119f -r 7816aa44c145 src/version.c
--- a/src/version.c Tue Jan 14 20:45:05 2020 +0100
+++ b/src/version.c Tue Jan 14 22:15:03 2020 +0100
@@ -743,6 +743,8 @@
743743 static int included_patches[] =
744744 { /* Add new patch number below this line */
745745 /**/
746+ 119,
747+/**/
746748 118,
747749 /**/
748750 117,
Show on old repository browser