summaryrefslogtreecommitdiff
path: root/src/list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/list.h')
-rw-r--r--src/list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/list.h b/src/list.h
index 78eb07e..472d2fc 100644
--- a/src/list.h
+++ b/src/list.h
@@ -52,7 +52,7 @@
}
#define IVY_LIST_ADD(list, p ) \
- if ( p = (TYPEOF(p)) (malloc( sizeof( *p ))))\
+ if ((p = (TYPEOF(p)) (malloc( sizeof( *p ))))) \
{ \
memset( p, 0 , sizeof( *p ));\
p->next = list; \