From: Takashi Iwai Date: Fri, 21 Jun 2002 12:24:34 +0000 (+0000) Subject: added packed attribute to have a consistent event data size on X-Git-Tag: v1.0.3~413 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=5541c7a31eab0b554be1dfa3c7c72eea71fdf403;p=alsa-lib.git added packed attribute to have a consistent event data size on both 32 and 64bit modes. --- diff --git a/include/seq_event.h b/include/seq_event.h index 501ced7d..6fb0f4c1 100644 --- a/include/seq_event.h +++ b/include/seq_event.h @@ -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;