summaryrefslogtreecommitdiffstats
path: root/m_config.h
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-04 15:34:20 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-04 15:34:20 +0000
commitc20f06b2fa04783fb1ba91685d627d63fa29eb76 (patch)
tree60549aa84241a11be9bacb222e17bf18b5ffde45 /m_config.h
parentfd43c009ccbcce408570069c4ebc51b8822f7d88 (diff)
downloadmpv-c20f06b2fa04783fb1ba91685d627d63fa29eb76.tar.bz2
mpv-c20f06b2fa04783fb1ba91685d627d63fa29eb76.tar.xz
alignment for SPARC64, second try
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13247 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'm_config.h')
-rw-r--r--m_config.h4
1 files changed, 3 insertions, 1 deletions
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 {