From 4c9a05bc5560ebb1144228bccb5312871a3089f7 Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Tue, 14 Jun 1994 18:19:28 -0400 Subject: Cast pointer operands to bzero, bcopy, and bcmp to (char *). From-SVN: r7472 --- gcc/tree.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gcc/tree.c') diff --git a/gcc/tree.c b/gcc/tree.c index 1839b31..e0aa0ae 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -292,7 +292,7 @@ init_obstacks () rtl_obstack = saveable_obstack = &permanent_obstack; /* Init the hash table of identifiers. */ - bzero (hash_table, sizeof hash_table); + bzero ((char *) hash_table, sizeof hash_table); } void @@ -812,11 +812,11 @@ init_tree_codes () tree_code_type = (char **) xmalloc (sizeof (standard_tree_code_type)); tree_code_length = (int *) xmalloc (sizeof (standard_tree_code_length)); tree_code_name = (char **) xmalloc (sizeof (standard_tree_code_name)); - bcopy (standard_tree_code_type, tree_code_type, + bcopy ((char *) standard_tree_code_type, (char *) tree_code_type, sizeof (standard_tree_code_type)); - bcopy (standard_tree_code_length, tree_code_length, + bcopy ((char *) standard_tree_code_length, (char *) tree_code_length, sizeof (standard_tree_code_length)); - bcopy (standard_tree_code_name, tree_code_name, + bcopy ((char *) standard_tree_code_name, (char *) tree_code_name, sizeof (standard_tree_code_name)); } -- cgit v1.1