From: Takashi Iwai Date: Tue, 21 Sep 2004 10:37:17 +0000 (+0000) Subject: [hdsp] Fix for 64bit architectures X-Git-Tag: v1.0.7~17 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=9db1403b3addd31d5b733a2ee83a81bb57acbeb4;p=alsa-lib.git [hdsp] Fix for 64bit architectures Fixed the loading of firmware data and the handling of meter mmap on 64bit architectures. --- diff --git a/include/sound/hdsp.h b/include/sound/hdsp.h index 21a9f1c0..ba60c144 100644 --- a/include/sound/hdsp.h +++ b/include/sound/hdsp.h @@ -76,7 +76,7 @@ struct _snd_hdsp_config_info { typedef struct _snd_hdsp_firmware hdsp_firmware_t; struct _snd_hdsp_firmware { - unsigned long *firmware_data; /* 24413 long words */ + void *firmware_data; /* 24413 x 4 bytes */ }; #define SNDRV_HDSP_IOCTL_UPLOAD_FIRMWARE _IOW('H', 0x42, hdsp_firmware_t)