summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-04-20 16:12:09 +0200
committerBram Moolenaar <Bram@vim.org>2020-04-20 16:12:09 +0200
commit4da6df40f5a637de42cad8e6939dfe8463b211db (patch)
treebd30ad051593923fcbc018a22b5a161374fda1bd
parent2bb76accc66d17f2c027c04396082c46f410bfea (diff)
patch 8.2.0608: warning from clang when building message testv8.2.0608
Problem: Warning from clang when building message test. Solution: Use a void pointer. (Dominique Pelle, closes #5958)
-rw-r--r--src/message_test.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/message_test.c b/src/message_test.c
index 014d8d9d45..85a29b4712 100644
--- a/src/message_test.c
+++ b/src/message_test.c
@@ -127,7 +127,7 @@ test_vim_snprintf(void)
int n;
size_t bsize;
int bsize_int;
- char *ptr = (char *)0x87654321;
+ void *ptr = (void *)0x87654321;
// Loop on various buffer sizes to make sure that truncation of
// vim_snprintf() is correct.
diff --git a/src/version.c b/src/version.c
index f175ff3d2f..2b1a126092 100644
--- a/src/version.c
+++ b/src/version.c
@@ -747,6 +747,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 608,
+/**/
607,
/**/
606,