* regex.c (bzero) [!_LIBC]: Cast the call to memcpy to (void).
From-SVN: r208558
This commit is contained in:
parent
39a1ebb3dd
commit
dd19cdda76
@ -151,7 +151,7 @@ char *realloc ();
|
|||||||
# include <string.h>
|
# include <string.h>
|
||||||
# ifndef bzero
|
# ifndef bzero
|
||||||
# ifndef _LIBC
|
# ifndef _LIBC
|
||||||
# define bzero(s, n) memset (s, '\0', n)
|
# define bzero(s, n) ((void) memset (s, '\0', n))
|
||||||
# else
|
# else
|
||||||
# define bzero(s, n) __bzero (s, n)
|
# define bzero(s, n) __bzero (s, n)
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user