alignment for SPARC64, second try

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13247 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2004-09-04 15:34:20 +00:00
parent fd43c009cc
commit c20f06b2fa
1 changed files with 3 additions and 1 deletions

View File

@ -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 {