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]
/
gcc
/
et-forest.c
diff --git
a/gcc/et-forest.c
b/gcc/et-forest.c
index
02cbcc1
..
e87322c
100644
(file)
--- a/
gcc/et-forest.c
+++ b/
gcc/et-forest.c
@@
-447,7
+447,7
@@
et_new_occ (struct et_node *node)
if (!et_occurrences)
et_occurrences = create_alloc_pool ("et_occ pool", sizeof (struct et_occ), 300);
if (!et_occurrences)
et_occurrences = create_alloc_pool ("et_occ pool", sizeof (struct et_occ), 300);
- nw = pool_alloc (et_occurrences);
+ nw =
(struct et_occ *)
pool_alloc (et_occurrences);
nw->of = node;
nw->parent = NULL;
nw->of = node;
nw->parent = NULL;
@@
-470,7
+470,7
@@
et_new_tree (void *data)
if (!et_nodes)
et_nodes = create_alloc_pool ("et_node pool", sizeof (struct et_node), 300);
if (!et_nodes)
et_nodes = create_alloc_pool ("et_node pool", sizeof (struct et_node), 300);
- nw = pool_alloc (et_nodes);
+ nw =
(struct et_node *)
pool_alloc (et_nodes);
nw->data = data;
nw->father = NULL;
nw->data = data;
nw->father = NULL;