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/decl2.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/decl2.c')
-rw-r--r-- | gcc/cp/decl2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/decl2.c b/gcc/cp/decl2.c index 637ac8c9de7..be9f326b156 100644 --- a/gcc/cp/decl2.c +++ b/gcc/cp/decl2.c @@ -2683,7 +2683,7 @@ generate_ctor_or_dtor_function (bool constructor_p, int priority, static int generate_ctor_and_dtor_functions_for_priority (splay_tree_node n, void * data) { - location_t *locus = data; + location_t *locus = (location_t *) data; int priority = (int) n->key; priority_info pi = (priority_info) n->value; |