From: Michael Beck Date: Tue, 28 Dec 2004 12:21:36 +0000 (+0000) Subject: made allocation C-like X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=cd117a5476fd8d34f117263e18e694c094f73b23;p=libfirm made allocation C-like [r4767] --- diff --git a/ir/adt/set.c b/ir/adt/set.c index 55aafc417..9b2e031f6 100644 --- 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;