summaryrefslogtreecommitdiff
path: root/libiberty/regex.c
diff options
context:
space:
mode:
authorUros Bizjak <uros@gcc.gnu.org>2014-03-13 23:04:07 +0100
committerUros Bizjak <uros@gcc.gnu.org>2014-03-13 23:04:07 +0100
commitdd19cdda76767f71f2ea8b06e40baa4746fb8470 (patch)
treeda31d778d2721bc81c1dc136bd48547bcb3bd059 /libiberty/regex.c
parent39a1ebb3ddb6b2afcc96723b0cb59dbd10be5268 (diff)
* regex.c (bzero) [!_LIBC]: Cast the call to memcpy to (void).
From-SVN: r208558
Diffstat (limited to 'libiberty/regex.c')
-rw-r--r--libiberty/regex.c2
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