From c56c1fcdac106ab70da4e8b69ca7414271eff9d2 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sun, 23 Jan 2011 15:42:47 +0100 Subject: [PATCH] isl_union_templ.c: fix typo Signed-off-by: Sven Verdoolaege --- isl_union_templ.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/isl_union_templ.c b/isl_union_templ.c index a04759f..6a3127a 100644 --- a/isl_union_templ.c +++ b/isl_union_templ.c @@ -49,7 +49,7 @@ static __isl_give UNION *FN(UNION,alloc)(__isl_take isl_dim *dim, int size) if (!dim) return NULL; - u = isl_calloc_type(ctx, UNION); + u = isl_calloc_type(dim->ctx, UNION); if (!u) return NULL; -- 2.7.4