From f9372e9d61d8b88a1cf9708a33d27823eb74d7f7 Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Fri, 23 Feb 2018 07:06:35 +0000 Subject: [PATCH] parenthesized moo in MOO_CLASSOF() --- moo/lib/moo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moo/lib/moo.h b/moo/lib/moo.h index 9119f75..702a139 100644 --- a/moo/lib/moo.h +++ b/moo/lib/moo.h @@ -894,7 +894,7 @@ struct moo_process_scheduler_t * object encoded into a pointer. */ #define MOO_CLASSOF(moo,oop) \ - (MOO_OOP_GET_TAG(oop)? (*moo->tagged_classes[MOO_OOP_GET_TAG(oop)]): MOO_OBJ_GET_CLASS(oop)) + (MOO_OOP_GET_TAG(oop)? (*(moo)->tagged_classes[MOO_OOP_GET_TAG(oop)]): MOO_OBJ_GET_CLASS(oop)) /** * The MOO_BYTESOF() macro returns the size of the payload of