diff options
author | scottl <scottl@FreeBSD.org> | 2005-11-20 04:27:24 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2005-11-20 04:27:24 +0000 |
commit | 34992d5afb3ad2c2417cc0dc2c0a0a6a06d2ceef (patch) | |
tree | 1fb69b014fbac2c4b806f0e342e795c06e0d4387 /sys | |
parent | c93740ec14b76b9f583ccfb1b7e33c6c5fb0594a (diff) | |
download | FreeBSD-src-34992d5afb3ad2c2417cc0dc2c0a0a6a06d2ceef.zip FreeBSD-src-34992d5afb3ad2c2417cc0dc2c0a0a6a06d2ceef.tar.gz |
Fix compile on 64-bit platforms.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/iwi/if_iwi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/iwi/if_iwi.c b/sys/dev/iwi/if_iwi.c index c7b8660..bf8e7be 100644 --- a/sys/dev/iwi/if_iwi.c +++ b/sys/dev/iwi/if_iwi.c @@ -1868,7 +1868,8 @@ iwi_load_ucode(struct iwi_softc *sc, const char *name) uint32_t tmp; uint16_t *w; char *uc; - int i, size, ntries, error; + size_t size; + int i, ntries, error; IWI_UNLOCK(sc); error = iwi_read_firmware(name, &uc, &size); @@ -1961,7 +1962,8 @@ iwi_load_firmware(struct iwi_softc *sc, const char *name) char *fw; u_char *p, *end; uint32_t sentinel, ctl, src, dst, sum, len, mlen, tmp; - int size, ntries, error; + size_t size; + int ntries, error; /* read firmware image from filesystem */ IWI_UNLOCK(sc); |