From b779c9e63d28c228817fda203ed7fb99b82786da Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 12 Nov 2025 19:04:26 +0100 Subject: [PATCH] ensure byteColor_t is packed make sure it is always sized 4 bytes and not padded at all since that is assumed to be the size --- src/doomtype.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doomtype.h b/src/doomtype.h index 78867ed69..8043b7285 100644 --- a/src/doomtype.h +++ b/src/doomtype.h @@ -293,7 +293,7 @@ typedef struct UINT8 green; UINT8 blue; UINT8 alpha; -} byteColor_t; +} ATTRPACK byteColor_t; union FColorRGBA {