summaryrefslogtreecommitdiffstats
path: root/gcc/cp/search.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/search.c')
-rw-r--r--gcc/cp/search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/search.c b/gcc/cp/search.c
index 67f16fb1918..a7fdc86888b 100644
--- a/gcc/cp/search.c
+++ b/gcc/cp/search.c
@@ -1538,7 +1538,7 @@ lookup_member (xbasetype, name, protect, want_type)
n_calls_lookup_field++;
#endif /* GATHER_STATISTICS */
- bzero ((PTR) &lfi, sizeof (lfi));
+ memset ((PTR) &lfi, 0, sizeof (lfi));
lfi.type = type;
lfi.name = name;
lfi.want_type = want_type;
OpenPOWER on IntegriCloud