From c54c1753093a4950abab483b7d66fcedf775767f Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Wed, 25 Dec 2024 21:05:10 +0100 Subject: [PATCH] Fix flic.h for gcc Linux compiler --- LEGO1/omni/include/flic.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LEGO1/omni/include/flic.h b/LEGO1/omni/include/flic.h index 21d114df..1ed06087 100644 --- a/LEGO1/omni/include/flic.h +++ b/LEGO1/omni/include/flic.h @@ -25,7 +25,7 @@ typedef struct { WORD type; // 0x04 } FLIC_CHUNK; -typedef struct : FLIC_CHUNK { +typedef struct FLIC_HEADER : FLIC_CHUNK { WORD frames; /* Number of frames in first segment */ // 0x06 WORD width; /* FLIC width in pixels */ // 0x08 WORD height; /* FLIC height in pixels */ // 0x0a @@ -35,7 +35,7 @@ typedef struct : FLIC_CHUNK { } FLIC_HEADER; #pragma pack(pop) -typedef struct : FLIC_CHUNK { +typedef struct FLIC_FRAME : FLIC_CHUNK { WORD chunks; /* Number of subchunks */ // 0x06 WORD delay; /* Delay in milliseconds */ // 0x08 WORD reserved; /* Always zero */ // 0x0a