From: uros Date: Thu, 13 Mar 2014 22:04:07 +0000 (+0000) Subject: * regex.c (bzero) [!_LIBC]: Cast the call to memcpy to (void). X-Git-Tag: gdb-7.8-release~392 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a2d010462ce99a4fc79fb19c31915f86fafeea43;p=platform%2Fupstream%2Fbinutils.git * regex.c (bzero) [!_LIBC]: Cast the call to memcpy to (void). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208558 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/libiberty/regex.c b/libiberty/regex.c index cc9acdc..16338cb 100644 --- a/libiberty/regex.c +++ b/libiberty/regex.c @@ -151,7 +151,7 @@ char *realloc (); # include # ifndef bzero # ifndef _LIBC -# define bzero(s, n) memset (s, '\0', n) +# define bzero(s, n) ((void) memset (s, '\0', n)) # else # define bzero(s, n) __bzero (s, n) # endif