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/expmed.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/expmed.c')
-rw-r--r-- | gcc/expmed.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/expmed.c b/gcc/expmed.c index 09cbbaf..c0fe5f7 100644 --- a/gcc/expmed.c +++ b/gcc/expmed.c @@ -2116,8 +2116,10 @@ synth_mult (alg_out, t, cost_limit) best_alg is normally undefined, and this is a critical function. */ alg_out->ops = best_alg->ops + 1; alg_out->cost = cost_limit; - bcopy (best_alg->op, alg_out->op, alg_out->ops * sizeof *alg_out->op); - bcopy (best_alg->log, alg_out->log, alg_out->ops * sizeof *alg_out->log); + bcopy ((char *) best_alg->op, (char *) alg_out->op, + alg_out->ops * sizeof *alg_out->op); + bcopy ((char *) best_alg->log, (char *) alg_out->log, + alg_out->ops * sizeof *alg_out->log); } /* Perform a multiplication and return an rtx for the result. |