diff options
| -rw-r--r-- | gcc/cp/ChangeLog | 2 | ||||
| -rw-r--r-- | gcc/cp/mangle.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 4c43dce..3b5498e 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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. diff --git a/gcc/cp/mangle.c b/gcc/cp/mangle.c index b491fcc..8405a5d 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); } |
