From 0b804ac087fc198e08e1fb75c18e05ddccc5a837 Mon Sep 17 00:00:00 2001 From: Dragorn421 Date: Tue, 21 Sep 2021 09:49:19 +0200 Subject: [PATCH] Add parens around params usage in VEC_SET macro --- include/z64math.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/z64math.h b/include/z64math.h index 5d6227d4c5..1247d1a303 100644 --- a/include/z64math.h +++ b/include/z64math.h @@ -3,7 +3,7 @@ #include "ultra64.h" -#define VEC_SET(V,X,Y,Z) V.x=X;V.y=Y;V.z=Z +#define VEC_SET(V,X,Y,Z) (V).x=(X);(V).y=(Y);(V).z=(Z) typedef struct { f32 x, y;