1
0
forked from aniani/vim

patch 8.2.5170: tiny issues

Problem:    Tiny issues.
Solution:   Tiny improvements.
This commit is contained in:
Bram Moolenaar
2022-06-27 22:17:37 +01:00
parent 069a7d561b
commit 944cc9ceba
4 changed files with 6 additions and 3 deletions

View File

@@ -1653,7 +1653,7 @@ void *vim_memset(void *, int, size_t);
/*
* defines to avoid typecasts from (char_u *) to (char *) and back
* (vim_strchr() and vim_strrchr() are now in alloc.c)
* (vim_strchr() and vim_strrchr() are now in strings.c)
*/
#define STRLEN(s) strlen((char *)(s))
#define STRCPY(d, s) strcpy((char *)(d), (char *)(s))