]> git.alsa-project.org Git - alsa-lib.git/commitdiff
[hdsp] Fix for 64bit architectures
authorTakashi Iwai <tiwai@suse.de>
Tue, 21 Sep 2004 10:37:17 +0000 (10:37 +0000)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Sep 2004 10:37:17 +0000 (10:37 +0000)
Fixed the loading of firmware data and the handling of meter mmap
on 64bit architectures.

include/sound/hdsp.h

index 21a9f1c0db1c9d75cd1ee28572c6af8ed4376510..ba60c144c73abcced0988a2d368d6bfb5f41f479 100644 (file)
@@ -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)