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:
parent
2bb76accc6
commit
4da6df40f5
@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user