aboutsummaryrefslogtreecommitdiff
path: root/gdb/dbxread.c
diff options
context:
space:
mode:
authorK. Richard Pixley <rich@cygnus>1993-09-01 21:56:42 +0000
committerK. Richard Pixley <rich@cygnus>1993-09-01 21:56:42 +0000
commit4ed97c9a835c5d05a900e66b997eb6e77a141950 (patch)
tree3aac1dc65931f319327cf00df82e4fe0efc7b40d /gdb/dbxread.c
parent9823e3f4c985eb5919103cc84acf2a6055ed724f (diff)
downloadgdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.zip
gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.tar.gz
gdb-4ed97c9a835c5d05a900e66b997eb6e77a141950.tar.bz2
bzero -> memset
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r--gdb/dbxread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c
index 0ea2687..42bd4b4 100644
--- a/gdb/dbxread.c
+++ b/gdb/dbxread.c
@@ -407,8 +407,8 @@ explicit_lookup_type (real_filenum, index)
f->length *= 2;
f->vector = (struct type **)
xrealloc (f->vector, f->length * sizeof (struct type *));
- bzero (&f->vector[f->length / 2],
- f->length * sizeof (struct type *) / 2);
+ memset (&f->vector[f->length / 2],
+ '\0', f->length * sizeof (struct type *) / 2);
}
return &f->vector[index];
}