aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/rtti.c
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@integrable-solutions.net>2006-01-29 09:10:48 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2006-01-29 09:10:48 +0000
commit67f5655f98d39da5e593381ebcc35a1af9540ffa (patch)
tree7c783a02942f4003c69cd3138d64a9042883668f /gcc/cp/rtti.c
parent2990f854e5290b9b23b6f6aeea977d958d80eb58 (diff)
downloadgcc-67f5655f98d39da5e593381ebcc35a1af9540ffa.zip
gcc-67f5655f98d39da5e593381ebcc35a1af9540ffa.tar.gz
gcc-67f5655f98d39da5e593381ebcc35a1af9540ffa.tar.bz2
call.c (alloc_conversion): Use cast when converting from void *.
* 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. From-SVN: r110366
Diffstat (limited to 'gcc/cp/rtti.c')
-rw-r--r--gcc/cp/rtti.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/rtti.c b/gcc/cp/rtti.c
index 5a1b44b..54d82c7 100644
--- a/gcc/cp/rtti.c
+++ b/gcc/cp/rtti.c
@@ -1124,7 +1124,7 @@ create_pseudo_type_info (int tk, const char *real_name, ...)
va_start (ap, real_name);
/* Generate the pseudo type name. */
- pseudo_name = alloca (strlen (real_name) + 30);
+ pseudo_name = (char *) alloca (strlen (real_name) + 30);
strcpy (pseudo_name, real_name);
strcat (pseudo_name, "_pseudo");
if (tk >= TK_FIXED)