0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

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 #5958)
This commit is contained in:
Bram Moolenaar 2020-04-20 16:12:09 +02:00
parent 2bb76accc6
commit 4da6df40f5
2 changed files with 3 additions and 1 deletions

View File

@ -127,7 +127,7 @@ test_vim_snprintf(void)
int n; int n;
size_t bsize; size_t bsize;
int bsize_int; int bsize_int;
char *ptr = (char *)0x87654321; void *ptr = (void *)0x87654321;
// Loop on various buffer sizes to make sure that truncation of // Loop on various buffer sizes to make sure that truncation of
// vim_snprintf() is correct. // vim_snprintf() is correct.

View File

@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
608,
/**/ /**/
607, 607,
/**/ /**/