# HG changeset patch # User Bram Moolenaar # Date 1587392104 -7200 # Node ID 785e2f0095a9cc4c749d570bc55368a7a843193b # Parent b832a572e1c88527a83faa6a524b8c29e3fe6c3e patch 8.2.0608: warning from clang when building message test Commit: https://github.com/vim/vim/commit/4da6df40f5a637de42cad8e6939dfe8463b211db Author: Bram Moolenaar 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) diff --git a/src/message_test.c b/src/message_test.c --- 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 --- 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,