(dbxout_type): Fix call to bzero.

From-SVN: r7496
This commit is contained in:
Doug Evans 1994-06-15 23:23:33 +00:00
parent 7ac4a26649
commit 0725d62132
1 changed files with 5 additions and 4 deletions

View File

@ -942,10 +942,11 @@ dbxout_type (type, full, show_arg_types)
if (next_type_number == typevec_len)
{
int len = typevec_len * 2 * sizeof typevec[0];
typevec = (enum typestatus *) xrealloc (typevec, len);
bzero ((char *) (typevec + typevec_len), len);
typevec =
(enum typestatus *) xrealloc (typevec,
typevec_len * 2 * sizeof typevec[0]);
bzero ((char *) (typevec + typevec_len),
typevec_len * sizeof typevec[0]);
typevec_len *= 2;
}
}