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

hdsploader/hdsploader.c

index 289a6b59c732fcaa7d7fd0a4c92abd9612530ada..c9e8d9b3b3dacd240178376e76a5a8fa6a947ca8 100644 (file)
@@ -79,7 +79,7 @@ void upload_firmware(int card)
        return;
     }
 
-    firmware.firmware_data = (unsigned long *)code;
+    firmware.firmware_data = code;
     switch (version.io_type) {
     case Multiface:
        if (version.firmware_rev == 0xa) {