Made small fix to ADD_SIGN macro

This commit is contained in:
Gergely Polonkai 2013-08-21 17:03:37 +02:00
parent bf6beac14b
commit 0ac8355c63

View File

@ -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); \