diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-29 09:10:48 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-01-29 09:10:48 +0000 |
commit | cc52f165509d9835f5bf10853b4e40a23ee75889 (patch) | |
tree | 7c783a02942f4003c69cd3138d64a9042883668f /gcc/cp/search.c | |
parent | ecb5283ad4e667a7c9009a4a9233e286fa1036a1 (diff) | |
download | gcc-cc52f165509d9835f5bf10853b4e40a23ee75889.tar.gz |
* call.c (alloc_conversion): Use cast when converting from
void *.
(alloc_conversions): Likewise.
(add_candidate): Likewise.
(print_z_candidates): Likewise.
(add_warning): Likewise.
* pt.c (retrieve_local_specialization): Likewise.
(process_partial_specialization): Likewise.
(mangle_class_name_for_template): Likewise.
(tsubst_template_args): Likewise.
* typeck2.c (pat_calc_hash): Likewise.
(pat_compare): Likewise.
(abstract_virtuals_error): Likewise.
* class.c (method_name_cmp): Likewise.
(resort_method_name_cmp): Likewise.
(get_vfield_name): Likewise.
* decl2.c (generate_ctor_and_dtor_functions_for_priority):
Likewise.
* lex.c (init_reswords): Likewise.
* rtti.c (create_pseudo_type_info): Likewise.
* search.c (dfs_lookup_base): Likewise.
(dfs_dcast_hint_pre): Likewise.
(dfs_dcast_hint_post): Likewise.
* tree.c (hash_tree_cons): Likewise.
* repo.c (extract_string): Likewise.
(afgets): Likewise.
* cp-objcp-common.c (decl_shadowed_for_var_lookup): Likewise.
* g++spec.c (lang_specific_driver): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110366 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/search.c')
-rw-r--r-- | gcc/cp/search.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cp/search.c b/gcc/cp/search.c index 90e88d6865e..ec572d0b6df 100644 --- a/gcc/cp/search.c +++ b/gcc/cp/search.c @@ -97,7 +97,7 @@ struct lookup_base_data_s static tree dfs_lookup_base (tree binfo, void *data_) { - struct lookup_base_data_s *data = data_; + struct lookup_base_data_s *data = (struct lookup_base_data_s *) data_; if (SAME_BINFO_TYPE_P (BINFO_TYPE (binfo), data->base)) { @@ -306,7 +306,7 @@ struct dcast_data_s static tree dfs_dcast_hint_pre (tree binfo, void *data_) { - struct dcast_data_s *data = data_; + struct dcast_data_s *data = (struct dcast_data_s *) data_; if (BINFO_VIRTUAL_P (binfo)) data->virt_depth++; @@ -334,7 +334,7 @@ dfs_dcast_hint_pre (tree binfo, void *data_) static tree dfs_dcast_hint_post (tree binfo, void *data_) { - struct dcast_data_s *data = data_; + struct dcast_data_s *data = (struct dcast_data_s *) data_; if (BINFO_VIRTUAL_P (binfo)) data->virt_depth--; |