Commit dde866c6 by Richard Kenner

({save,restore}_386_machine_status): Cast args to bcopy to char *.

From-SVN: r8393
parent a269864e
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment