projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2661e86
)
made allocation C-like
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 28 Dec 2004 12:21:36 +0000
(12:21 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 28 Dec 2004 12:21:36 +0000
(12:21 +0000)
[r4767]
ir/adt/set.c
patch
|
blob
|
history
diff --git
a/ir/adt/set.c
b/ir/adt/set.c
index
55aafc4
..
9b2e031
100644
(file)
--- a/
ir/adt/set.c
+++ b/
ir/adt/set.c
@@
-179,7
+179,7
@@
SET *
(PMANGLE(new)) (MANGLEP(cmp_fun) cmp, int nslots)
{
int i;
- SET *table = xmalloc
(sizeof (SET
));
+ SET *table = xmalloc
(sizeof(*table
));
if (nslots > SEGMENT_SIZE * DIRECTORY_SIZE)
nslots = DIRECTORY_SIZE;