From 0ac8355c63a39704b69a11960f63337a41e48460 Mon Sep 17 00:00:00 2001 From: "Gergely POLONKAI (W00d5t0ck)" Date: Wed, 21 Aug 2013 17:03:37 +0200 Subject: [PATCH] Made small fix to ADD_SIGN macro --- src/gradix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gradix.c b/src/gradix.c index 75dd675..da2eb4c 100644 --- a/src/gradix.c +++ b/src/gradix.c @@ -68,7 +68,7 @@ const aspectData_t aspectData[] = { { NULL, 0, 0.0, FALSE, FALSE } }; -#define ADD_SIGN(ht, v, s, e, t) v = g_new0(signData_t, 1); \ +#define ADD_SIGN(ht, v, s, e, t) (v) = g_new0(signData_t, 1); \ (v)->signId = (s); \ (v)->element = (e); \ (v)->type = (t); \