projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
BugFix: works again for RAW with non twos-complement
[libfirm]
/
ir
/
adt
/
set.c
diff --git
a/ir/adt/set.c
b/ir/adt/set.c
index
9645bf1
..
6411e38
100644
(file)
--- a/
ir/adt/set.c
+++ b/
ir/adt/set.c
@@
-188,7
+188,7
@@
SET *
(PMANGLE(new)) (MANGLEP(cmp_fun) cmp, int nslots)
{
int i;
- SET *table =
xmalloc(sizeof(*table)
);
+ SET *table =
XMALLOC(SET
);
if (nslots > SEGMENT_SIZE * DIRECTORY_SIZE)
nslots = DIRECTORY_SIZE;