aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc/objc-act.c
diff options
context:
space:
mode:
authorRichard Kenner <kenner@gcc.gnu.org>1994-11-10 15:07:16 -0500
committerRichard Kenner <kenner@gcc.gnu.org>1994-11-10 15:07:16 -0500
commita2991183af807c2bb3b3d15863eb4d2f4c49d4ff (patch)
tree4bf5fc1246b5bb26f7c8a7873a0c12a36d0efa66 /gcc/objc/objc-act.c
parentbab5e7d55013f3d9f01beee97dd778c0040ab76e (diff)
downloadgcc-a2991183af807c2bb3b3d15863eb4d2f4c49d4ff.zip
gcc-a2991183af807c2bb3b3d15863eb4d2f4c49d4ff.tar.gz
gcc-a2991183af807c2bb3b3d15863eb4d2f4c49d4ff.tar.bz2
(init_objc): Add missing casts to args of bcopy.
From-SVN: r8407
Diffstat (limited to 'gcc/objc/objc-act.c')
-rw-r--r--gcc/objc/objc-act.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index b1cc91d..4f89d5a 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 *)));