From e944bcb96f82a282f38165f230d2cb3209288e5c Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Mon, 3 Jun 2019 14:11:31 -0500 Subject: [PATCH] st/oxr: Parenthesize macro args. Found by upcoming modifications. --- src/xrt/state_trackers/oxr/oxr_session.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xrt/state_trackers/oxr/oxr_session.c b/src/xrt/state_trackers/oxr/oxr_session.c index b3cb706ad..af84bd1f0 100644 --- a/src/xrt/state_trackers/oxr/oxr_session.c +++ b/src/xrt/state_trackers/oxr/oxr_session.c @@ -499,8 +499,8 @@ oxr_session_destroy(struct oxr_logger *log, struct oxr_handle_base *hb) do { \ OXR_ALLOCATE_HANDLE_OR_RETURN(LOG, OUT, OXR_XR_DEBUG_SESSION, \ oxr_session_destroy, \ - &SYS->inst->handle); \ - OUT->sys = SYS; \ + &(SYS)->inst->handle); \ + (OUT)->sys = (SYS); \ } while (0) XrResult