changeset 20105:785e2f0095a9 v8.2.0608

patch 8.2.0608: warning from clang when building message test Commit: https://github.com/vim/vim/commit/4da6df40f5a637de42cad8e6939dfe8463b211db Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 20 16:12:09 2020 +0200 patch 8.2.0608: warning from clang when building message test Problem: Warning from clang when building message test. Solution: Use a void pointer. (Dominique Pelle, closes https://github.com/vim/vim/issues/5958)
author Bram Moolenaar <Bram@vim.org>
date Mon, 20 Apr 2020 16:15:04 +0200
parents b832a572e1c8
children 8da053113b84
files src/message_test.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.
--- 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,