diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-13 22:04:07 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-03-13 22:04:07 +0000 |
commit | 0b3fa734b8530f7d1a7da59985513e069d4be4d4 (patch) | |
tree | da31d778d2721bc81c1dc136bd48547bcb3bd059 | |
parent | 8895f0a3b45fa6e7fc1365cddaf51a536eae6821 (diff) | |
download | gcc-0b3fa734b8530f7d1a7da59985513e069d4be4d4.tar.gz |
* 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
-rw-r--r-- | libiberty/regex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libiberty/regex.c b/libiberty/regex.c index cc9acdc2380..16338cb206b 100644 --- a/libiberty/regex.c +++ b/libiberty/regex.c @@ -151,7 +151,7 @@ char *realloc (); # include <string.h> # 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 |