From 6ffd0b8a2909c39b66b80b4387333d5e904ceb72 Mon Sep 17 00:00:00 2001 From: scottr Date: Tue, 6 Nov 2007 00:33:49 +0000 Subject: [PATCH] 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 --- ath/if_ath_ahb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.35.1