From: Richard Kenner Date: Sat, 5 Nov 1994 19:08:24 +0000 (-0500) Subject: ({save,restore}_386_machine_status): Cast args to bcopy to char *. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dde866c662315500447d20c880547b30a2f961b9;p=gcc.git ({save,restore}_386_machine_status): Cast args to bcopy to char *. From-SVN: r8393 --- 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); }