From 837869a5bd0279f0f6ce2a1b529c539ce70e7bd6 Mon Sep 17 00:00:00 2001 From: Mark Mitchell Date: Wed, 25 Aug 2004 19:23:11 +0000 Subject: [PATCH] * mangle.c (get_identifier_nocopy): Add cast. From-SVN: r86567 --- gcc/cp/ChangeLog | 2 ++ gcc/cp/mangle.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 4c43dce96f1..3b5498e2635 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,5 +1,7 @@ 2004-08-25 Mark Mitchell + * mangle.c (get_identifier_nocopy): Add cast. + * cp-tree.h (mangle_type): Remove. * mangle.c (globals): GTY it. (mangle_obstack): New variable. diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index b491fccf17e..8405a5de63a 100644 --- a/gcc/cp/mangle.c +++ b/gcc/cp/mangle.c @@ -2491,7 +2491,7 @@ mangle_decl_string (const tree decl) static inline tree get_identifier_nocopy (const char *name) { - hashnode ht_node = ht_lookup (ident_hash, name, + hashnode ht_node = ht_lookup (ident_hash, (const unsigned char *) name, strlen (name), HT_ALLOCED); return HT_IDENT_TO_GCC_IDENT (ht_node); }