diff --git a/ChangeLog b/ChangeLog index 8959260926..c624bac06c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Thu Jan 20 23:58:02 2011 Tanaka Akira + + * node.h: parenthesize macro arguments. + Thu Jan 20 23:25:28 2011 KOSAKI Motohiro * configure.in: Add '#include ' to diff --git a/node.h b/node.h index b9668beccc..9e922a4dbd 100644 --- a/node.h +++ b/node.h @@ -269,7 +269,7 @@ typedef struct RNode { #define nd_type(n) ((int) (((RNODE(n))->flags & NODE_TYPEMASK)>>NODE_TYPESHIFT)) #define nd_set_type(n,t) \ - RNODE(n)->flags=((RNODE(n)->flags&~NODE_TYPEMASK)|((((unsigned long)t)<flags=((RNODE(n)->flags&~NODE_TYPEMASK)|((((unsigned long)(t))<