From 65e58e271e9ff9590c1eb3814a9e449e3c9d607a Mon Sep 17 00:00:00 2001 From: Martin Szulecki Date: Thu, 2 Apr 2009 15:21:20 +0200 Subject: Use packed attribute for structs --- wii_wad.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wii_wad.h') diff --git a/wii_wad.h b/wii_wad.h index 3407219..0985f7a 100644 --- a/wii_wad.h +++ b/wii_wad.h @@ -30,7 +30,7 @@ typedef struct { u32 tmd_size; u32 data_size; u32 footer_size; -} wad_header; +} ATTRIBUTE_PACKED wad_header; void print_wad(wad_header *wad); -- cgit v1.1-32-gdbae