summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKEKW555 <152369890+KEKW555@users.noreply.github.com>2024-01-06 23:43:08 +0530
committerGitHub <noreply@github.com>2024-01-06 23:43:08 +0530
commitf7576ba1d035da45eca4d8ecb1ac855eaad879db (patch)
treea804bd94db006e4d7ae13b8c529358fc9dac8be6 /include
parent99ef905ac3bb70a00f4e918ffeab19e3c2fb62db (diff)
Make union consistent with other split union types.
Diffstat (limited to 'include')
-rw-r--r--include/global.h4
1 files changed, 2 insertions, 2 deletions
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;