diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2004-03-03 08:33:34 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2004-03-03 08:33:34 +0000 |
| commit | 3dae0ce68fd4fa720e451f3046fe09628f30a32c (patch) | |
| tree | a528a4a07f343c6ee7eacc7f8a8a8b6506f42ff5 /sys/dev/lnc | |
| parent | 884853990228f21399dab271192fa6f2724278a2 (diff) | |
Notes
Diffstat (limited to 'sys/dev/lnc')
| -rw-r--r-- | sys/dev/lnc/if_lnc.c | 2 | ||||
| -rw-r--r-- | sys/dev/lnc/if_lncvar.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/lnc/if_lnc.c b/sys/dev/lnc/if_lnc.c index c186223d620d..35b47bcc931b 100644 --- a/sys/dev/lnc/if_lnc.c +++ b/sys/dev/lnc/if_lnc.c @@ -941,7 +941,7 @@ printf("XXX no address?\n"); sc->trans_next = 0; if (sc->nic.mem_mode == SHMEM) - lnc_mem = (char *) sc->nic.iobase; + lnc_mem = (char *)(uintptr_t)sc->nic.iobase; else lnc_mem = (char *) (sc->trans_ring + NDESC(sc->ntdre)); diff --git a/sys/dev/lnc/if_lncvar.h b/sys/dev/lnc/if_lncvar.h index 50a5a66c40ca..8c76738500f1 100644 --- a/sys/dev/lnc/if_lncvar.h +++ b/sys/dev/lnc/if_lncvar.h @@ -183,7 +183,7 @@ struct nic_info { int ident; /* Type of card */ int ic; /* Type of ic, Am7990, Am79C960 etc. */ int mem_mode; - long iobase; + int iobase; int mode; /* Mode setting at initialization */ }; |
