Mercurial > mplayer.hg
diff m_config.h @ 13246:5dea9e3618ba
alignment for SPARC64, second try
author | reimar |
---|---|
date | Sat, 04 Sep 2004 15:34:20 +0000 |
parents | 57bdcdb061d7 |
children | 63909962d3fc |
line wrap: on
line diff
--- a/m_config.h Sat Sep 04 10:22:38 2004 +0000 +++ b/m_config.h Sat Sep 04 15:34:20 2004 +0000 @@ -9,7 +9,9 @@ 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 {