X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fadt%2Fhashset.c;h=d0a3e7e1f435e63b9cd5897ec3a8774dde34e2b1;hb=f2edb6301aa7affb0673e76436d9b4dbaef6b9e1;hp=8741376d490cfd6a8a61d36429c6bd4d9c09a3b4;hpb=28660537c3976b89e2e7bada005a854efff5f47c;p=libfirm diff --git a/ir/adt/hashset.c b/ir/adt/hashset.c index 8741376d4..d0a3e7e1f 100644 --- a/ir/adt/hashset.c +++ b/ir/adt/hashset.c @@ -95,7 +95,7 @@ #ifndef Alloc #include "xmalloc.h" -#define Alloc(size) (HashSetEntry*) xmalloc((size) * sizeof(HashSetEntry)) +#define Alloc(size) XMALLOCN(HashSetEntry, (size)) #define Free(ptr) free(ptr) #endif /* Alloc */