diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1994-11-05 14:08:24 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1994-11-05 14:08:24 -0500 |
commit | dde866c662315500447d20c880547b30a2f961b9 (patch) | |
tree | 758df21ac61b51e0bdab7c367e68dbef41e8e293 /gcc | |
parent | a269864eb95864ced15afbd7247376a83c4b4627 (diff) | |
download | gcc-dde866c662315500447d20c880547b30a2f961b9.zip gcc-dde866c662315500447d20c880547b30a2f961b9.tar.gz gcc-dde866c662315500447d20c880547b30a2f961b9.tar.bz2 |
({save,restore}_386_machine_status): Cast args to bcopy to char *.
From-SVN: r8393
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/i386/i386.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 830f3dd..98e4fcd 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -2806,7 +2806,7 @@ save_386_machine_status (p) struct function *p; { p->machine = (struct machine_function *) xmalloc (sizeof i386_stack_locals); - bcopy (i386_stack_locals, p->machine->i386_stack_locals, + bcopy ((char *) i386_stack_locals, (char *) p->machine->i386_stack_locals, sizeof i386_stack_locals); } @@ -2814,7 +2814,7 @@ void restore_386_machine_status (p) struct function *p; { - bcopy (p->machine->i386_stack_locals, i386_stack_locals, + bcopy ((char *) p->machine->i386_stack_locals, (char *) i386_stack_locals, sizeof i386_stack_locals); free (p->machine); } |