[Mplayer-cvslog] CVS: main m_config.h,1.5,1.6
Reimar Döffinger CVS
syncmail at mplayerhq.hu
Sat Sep 4 17:34:22 CEST 2004
CVS change done by Reimar Döffinger CVS
Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv22976
Modified Files:
m_config.h
Log Message:
alignment for SPARC64, second try
Index: m_config.h
===================================================================
RCS file: /cvsroot/mplayer/main/m_config.h,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- m_config.h 13 Aug 2003 16:29:00 -0000 1.5
+++ m_config.h 4 Sep 2004 15:34:20 -0000 1.6
@@ -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 {
More information about the MPlayer-cvslog
mailing list