Commit 68f44892 authored by Jaroslav Kysela's avatar Jaroslav Kysela

[ALSA] Fix struct size mismatch

IOCTL32 emulation
Fixed the struct size mismatch - should work on SPARC64 now, too.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 80bc8a94
......@@ -220,7 +220,7 @@ struct sndrv_ctl_elem_value32 {
unsigned int indirect; /* bit-field causes misalignment */
union {
s32 integer[128]; /* integer and boolean need conversion */
#ifdef CONFIG_PPC64
#ifndef CONFIG_X86_64
s64 integer64[64]; /* for alignment */
#endif
unsigned char data[512]; /* others should be compatible */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment