Commit 837869a5 by Mark Mitchell Committed by Mark Mitchell

* mangle.c (get_identifier_nocopy): Add cast.

From-SVN: r86567
parent e5f14571
2004-08-25 Mark Mitchell <mark@codesourcery.com> 2004-08-25 Mark Mitchell <mark@codesourcery.com>
* mangle.c (get_identifier_nocopy): Add cast.
* cp-tree.h (mangle_type): Remove. * cp-tree.h (mangle_type): Remove.
* mangle.c (globals): GTY it. * mangle.c (globals): GTY it.
(mangle_obstack): New variable. (mangle_obstack): New variable.
......
...@@ -2491,7 +2491,7 @@ mangle_decl_string (const tree decl) ...@@ -2491,7 +2491,7 @@ mangle_decl_string (const tree decl)
static inline tree static inline tree
get_identifier_nocopy (const char *name) 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); strlen (name), HT_ALLOCED);
return HT_IDENT_TO_GCC_IDENT (ht_node); return HT_IDENT_TO_GCC_IDENT (ht_node);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment