mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user