forked from aniani/vim
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:
@@ -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.
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user