]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
(dbxout_type): Fix call to bzero.
authorDoug Evans <dje@gnu.org>
Wed, 15 Jun 1994 23:23:33 +0000 (23:23 +0000)
committerDoug Evans <dje@gnu.org>
Wed, 15 Jun 1994 23:23:33 +0000 (23:23 +0000)
From-SVN: r7496

gcc/dbxout.c

index b2995c1d8b91b08f80f80e05ff5538a5467f6fbb..75b01d8c4e96bace9d86539afc82c5e894454713 100644 (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;
        }
     }