From a2991183af807c2bb3b3d15863eb4d2f4c49d4ff Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Thu, 10 Nov 1994 15:07:16 -0500 Subject: [PATCH] (init_objc): Add missing casts to args of bcopy. From-SVN: r8407 --- gcc/objc/objc-act.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index b1cc91d49e4..4f89d5ad765 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -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 *))); -- 2.30.2