We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e5910b commit 7b6903fCopy full SHA for 7b6903f
2 files changed
src/userfunc.c
@@ -403,7 +403,9 @@ register_closure(ufunc_T *fp)
403
static void
404
set_ufunc_name(ufunc_T *fp, char_u *name)
405
{
406
- STRCPY(fp->uf_name, name);
+ // Add a type cast to avoid a warning for an overflow, the uf_name[] array
407
+ // actually extends beyond the struct.
408
+ STRCPY((void *)fp->uf_name, name);
409
410
if (name[0] == K_SPECIAL)
411
src/version.c
@@ -750,6 +750,8 @@ static char *(features[]) =
750
751
static int included_patches[] =
752
{ /* Add new patch number below this line */
753
+/**/
754
+ 2456,
755
/**/
756
2455,
757
0 commit comments