diff options
| author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-25 19:23:11 +0000 |
|---|---|---|
| committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-08-25 19:23:11 +0000 |
| commit | f07f4968e9f29edd9dd5777ae12c98c0e651db2b (patch) | |
| tree | f70fd1fa357d476d07ce672cb9ae82992934d6b6 | |
| parent | b440d9949c7dad439a7d4d550acaba31b324ea70 (diff) | |
| download | ppe42-gcc-f07f4968e9f29edd9dd5777ae12c98c0e651db2b.tar.gz ppe42-gcc-f07f4968e9f29edd9dd5777ae12c98c0e651db2b.zip | |
* mangle.c (get_identifier_nocopy): Add cast.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86567 138bc75d-0d04-0410-961f-82ee72b054a4
| -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 4c43dce96f1..3b5498e2635 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 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); } |

