(init_objc): Add missing casts to args of bcopy.
authorRichard Kenner <kenner@gcc.gnu.org>
Thu, 10 Nov 1994 20:07:16 +0000 (15:07 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Thu, 10 Nov 1994 20:07:16 +0000 (15:07 -0500)
From-SVN: r8407

gcc/objc/objc-act.c

index b1cc91d49e4d0045275ed2f36aed147b8935dd92..4f89d5ad765ccd6c2e255aa27d6c30324a88899c 100644 (file)
@@ -7465,16 +7465,16 @@ init_objc ()
   tree_code_name
     = (char **) xrealloc (tree_code_name,
                          sizeof (char *) * LAST_OBJC_TREE_CODE);
-  bcopy (objc_tree_code_type,
-        tree_code_type + (int) LAST_CODE,
+  bcopy ((char *) objc_tree_code_type,
+        (char *) (tree_code_type + (int) LAST_CODE),
         (((int) LAST_OBJC_TREE_CODE - (int) LAST_CODE)
          * sizeof (char *)));
-  bcopy (objc_tree_code_length,
-        tree_code_length + (int) LAST_CODE,
+  bcopy ((char *) objc_tree_code_length,
+        (char *) (tree_code_length + (int) LAST_CODE),
         (((int) LAST_OBJC_TREE_CODE - (int) LAST_CODE)
          * sizeof (int)));
-  bcopy (objc_tree_code_name,
-        tree_code_name + (int) LAST_CODE,
+  bcopy ((char *) objc_tree_code_name,
+        (char *) (tree_code_name + (int) LAST_CODE),
         (((int) LAST_OBJC_TREE_CODE - (int) LAST_CODE)
          * sizeof (char *)));