summaryrefslogtreecommitdiffstats
path: root/src/file_nes.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/file_nes.c')
-rw-r--r--src/file_nes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_nes.c b/src/file_nes.c
index 27c6f36..91e2d17 100644
--- a/src/file_nes.c
+++ b/src/file_nes.c
@@ -48,7 +48,7 @@ struct nes_header
char ident[4];
uint8_t prgsize;
uint8_t chrsize;
-} __attribute__ ((__packed__));
+} __attribute__ ((gcc_struct, __packed__));
static int header_check_nes(const unsigned char *buffer, const unsigned int buffer_size, const unsigned int safe_header_only, const file_recovery_t *file_recovery, file_recovery_t *file_recovery_new)
{