BugFix: works again for RAW with non twos-complement
[libfirm] / ir / adt / set.c
index 9645bf1..6411e38 100644 (file)
@@ -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;