OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Daily bump.
[pf3gnuchains/gcc-fork.git]
/
libcpp
/
symtab.c
diff --git
a/libcpp/symtab.c
b/libcpp/symtab.c
index
086d775
..
48a5338
100644
(file)
--- a/
libcpp/symtab.c
+++ b/
libcpp/symtab.c
@@
-163,7
+163,7
@@
ht_lookup_with_hash (hash_table *table, const unsigned char *str,
if (table->alloc_subobject)
{
- char *chars = table->alloc_subobject (len + 1);
+ char *chars =
(char *)
table->alloc_subobject (len + 1);
memcpy (chars, str, len);
chars[len] = '\0';
HT_STR (node) = (const unsigned char *) chars;