mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 15:11:09 +08:00
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:
+3
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user