From dde866c662315500447d20c880547b30a2f961b9 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Sat, 5 Nov 1994 14:08:24 -0500 Subject: [PATCH] ({save,restore}_386_machine_status): Cast args to bcopy to char *. From-SVN: r8393 --- gcc/config/i386/i386.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 830f3dd975f..98e4fcdd67f 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); } -- 2.30.2