added packed attribute to have a consistent event data size on

both 32 and 64bit modes.
This commit is contained in:
Takashi Iwai 2002-06-21 12:24:34 +00:00
parent b20beb55f7
commit 5541c7a31e

View file

@ -315,7 +315,7 @@ typedef struct snd_seq_ev_raw32 {
typedef struct snd_seq_ev_ext {
unsigned int len; /**< length of data */
void *ptr; /**< pointer to data (note: can be 64-bit) */
} snd_seq_ev_ext_t;
} __attribute__((packed)) snd_seq_ev_ext_t;
/** Instrument cluster type */
typedef unsigned int snd_seq_instr_cluster_t;