projects
/
madwifi
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix compilation with GCC 4.1.2 on 64-bit hosts
[madwifi/.git]
/
ath
/
if_ath_ahb.c
diff --git
a/ath/if_ath_ahb.c
b/ath/if_ath_ahb.c
index 4d8efe3469efe32c03d2f8494f42c3b9f1d2da04..f1d62abd93eeb96cc6f03c07b78252daaafc0863 100644
(file)
--- 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);