Fix compilation with GCC 4.1.2 on 64-bit hosts
authorscottr <scottr@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Tue, 6 Nov 2007 00:33:49 +0000 (00:33 +0000)
committerscottr <scottr@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Tue, 6 Nov 2007 00:33:49 +0000 (00:33 +0000)
git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2833 0192ed92-7a03-0410-a25b-9323aeb14dbd

ath/if_ath_ahb.c

index 4d8efe3469efe32c03d2f8494f42c3b9f1d2da04..f1d62abd93eeb96cc6f03c07b78252daaafc0863 100644 (file)
@@ -191,7 +191,7 @@ exit_ath_wmac(u_int16_t wlanNum, struct ar531x_config *config)
        if (dev->irq)
                free_irq(dev->irq, dev);
        devid = sc->aps_sc.devid;
-       config->tag = (unsigned long) devid;
+       config->tag = (void *)((unsigned long) devid);
 
        ahb_disable_wmac(devid, wlanNum);
        free_netdev(dev);