({save,restore}_386_machine_status): Cast args to bcopy to char *.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 5 Nov 1994 19:08:24 +0000 (14:08 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 5 Nov 1994 19:08:24 +0000 (14:08 -0500)
From-SVN: r8393

gcc/config/i386/i386.c

index 830f3dd975f863fb2653d3a6493e572d61434599..98e4fcdd67fafcdb0236439747db40ef5a82b49a 100644 (file)
@@ -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);
 }