From: scottr Date: Tue, 6 Nov 2007 00:33:49 +0000 (+0000) Subject: Fix compilation with GCC 4.1.2 on 64-bit hosts X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=6ffd0b8a2909c39b66b80b4387333d5e904ceb72;p=madwifi%2F.git Fix compilation with GCC 4.1.2 on 64-bit hosts git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@2833 0192ed92-7a03-0410-a25b-9323aeb14dbd --- diff --git a/ath/if_ath_ahb.c b/ath/if_ath_ahb.c index 4d8efe3..f1d62ab 100644 --- a/ath/if_ath_ahb.c +++ b/ath/if_ath_ahb.c @@ -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);