* mangle.c (get_identifier_nocopy): Add cast.

From-SVN: r86567
This commit is contained in:
Mark Mitchell 2004-08-25 19:23:11 +00:00 committed by Mark Mitchell
parent e5f14571a8
commit 837869a5bd
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2004-08-25 Mark Mitchell <mark@codesourcery.com>
* mangle.c (get_identifier_nocopy): Add cast.
* cp-tree.h (mangle_type): Remove.
* mangle.c (globals): GTY it.
(mangle_obstack): New variable.

View File

@ -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);
}