From f7576ba1d035da45eca4d8ecb1ac855eaad879db Mon Sep 17 00:00:00 2001 From: KEKW555 <152369890+KEKW555@users.noreply.github.com> Date: Sat, 6 Jan 2024 23:43:08 +0530 Subject: Make union consistent with other split union types. --- include/global.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/global.h b/include/global.h index 00db197e..f5621806 100644 --- a/include/global.h +++ b/include/global.h @@ -119,7 +119,7 @@ typedef struct { s8 y; } PACKED Coords8; -typedef union { +union SplitDWord { s64 DWORD; u64 DWORD_U; struct { @@ -128,7 +128,7 @@ typedef union { struct { u32 LO, HI; } HALF_U; -} SplitDWord; +}; union SplitWord { s32 WORD; -- cgit v1.2.3