From c20f06b2fa04783fb1ba91685d627d63fa29eb76 Mon Sep 17 00:00:00 2001 From: reimar Date: Sat, 4 Sep 2004 15:34:20 +0000 Subject: alignment for SPARC64, second try git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13247 b3059339-0415-0410-9bf9-f77b7e298cf2 --- m_config.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'm_config.h') diff --git a/m_config.h b/m_config.h index 7fb82fd8f1..0259efe5d1 100644 --- a/m_config.h +++ b/m_config.h @@ -9,7 +9,9 @@ struct m_option_type; struct m_config_save_slot { m_config_save_slot_t* prev; int lvl; - unsigned char data[0]; + // we have to store other datatypes in this as well, + // so make sure we get properly aligned addresses + unsigned char data[0] __attribute__ ((aligned (8))); }; struct m_config_option { -- cgit v1.2.3