diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-06-14 18:19:28 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-06-14 18:19:28 -0400 |
commit | 4c9a05bc5560ebb1144228bccb5312871a3089f7 (patch) | |
tree | a7bb6982dd7325e985889dd58de3ba6d06851867 /gcc/stupid.c | |
parent | de953b38a3adb0580dd8caf88991fc78226b1f4e (diff) | |
download | gcc-4c9a05bc5560ebb1144228bccb5312871a3089f7.zip gcc-4c9a05bc5560ebb1144228bccb5312871a3089f7.tar.gz gcc-4c9a05bc5560ebb1144228bccb5312871a3089f7.tar.bz2 |
Cast pointer operands to bzero, bcopy, and bcmp to (char *).
From-SVN: r7472
Diffstat (limited to 'gcc/stupid.c')
-rw-r--r-- | gcc/stupid.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/stupid.c b/gcc/stupid.c index 1293d5d..7ceec9f 100644 --- a/gcc/stupid.c +++ b/gcc/stupid.c @@ -149,13 +149,13 @@ stupid_life_analysis (f, nregs, file) /* Allocate tables to record info about regs. */ reg_where_dead = (int *) alloca (nregs * sizeof (int)); - bzero (reg_where_dead, nregs * sizeof (int)); + bzero ((char *) reg_where_dead, nregs * sizeof (int)); reg_where_born = (int *) alloca (nregs * sizeof (int)); - bzero (reg_where_born, nregs * sizeof (int)); + bzero ((char *) reg_where_born, nregs * sizeof (int)); reg_order = (int *) alloca (nregs * sizeof (int)); - bzero (reg_order, nregs * sizeof (int)); + bzero ((char *) reg_order, nregs * sizeof (int)); reg_renumber = (short *) oballoc (nregs * sizeof (short)); for (i = 0; i < FIRST_PSEUDO_REGISTER; i++) @@ -167,7 +167,7 @@ stupid_life_analysis (f, nregs, file) after_insn_hard_regs = (HARD_REG_SET *) alloca (max_suid * sizeof (HARD_REG_SET)); - bzero (after_insn_hard_regs, max_suid * sizeof (HARD_REG_SET)); + bzero ((char *) after_insn_hard_regs, max_suid * sizeof (HARD_REG_SET)); /* Allocate and zero out many data structures that will record the data from lifetime analysis. */ |