summaryrefslogtreecommitdiff
path: root/source/common.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-03-29 20:39:50 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-03-29 20:39:50 +0000
commit599a6aba5619bea100e45b31483148d232229f91 (patch)
treefa1c0fcbe4cb0ec9ec1a2496b5d154c230aa1014 /source/common.c
parentbb4735d395c8c7c8d811400a349476d088d671ff (diff)
Fixed a compilation warning in Image_LoadPCX.
Use -Wno-strict-aliasing instead of -fno-strict-aliasing. Added q_packed attribute to zstatic_t structure.
Diffstat (limited to 'source/common.c')
-rw-r--r--source/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/common.c b/source/common.c
index 14a189a..f2a95bf 100644
--- a/source/common.c
+++ b/source/common.c
@@ -491,7 +491,7 @@ typedef struct {
zhead_t z;
char data[2];
uint16_t tail;
-} zstatic_t;
+} q_packed zstatic_t;
#define Z_STATIC( x ) { { Z_MAGIC, TAG_STATIC, sizeof( zstatic_t ) }, x, Z_TAIL }