diff options
author | Uros Bizjak <uros@gcc.gnu.org> | 2014-03-13 23:04:07 +0100 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2014-03-13 23:04:07 +0100 |
commit | dd19cdda76767f71f2ea8b06e40baa4746fb8470 (patch) | |
tree | da31d778d2721bc81c1dc136bd48547bcb3bd059 /libiberty | |
parent | 39a1ebb3ddb6b2afcc96723b0cb59dbd10be5268 (diff) | |
download | gcc-dd19cdda76767f71f2ea8b06e40baa4746fb8470.zip gcc-dd19cdda76767f71f2ea8b06e40baa4746fb8470.tar.gz gcc-dd19cdda76767f71f2ea8b06e40baa4746fb8470.tar.bz2 |
* regex.c (bzero) [!_LIBC]: Cast the call to memcpy to (void).
From-SVN: r208558
Diffstat (limited to 'libiberty')
-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 cc9acdc..16338cb 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 |