diff options
author | sam <sam@FreeBSD.org> | 2009-05-21 04:00:31 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2009-05-21 04:00:31 +0000 |
commit | a5ab91191fe8ddca45603099442b778727c6589a (patch) | |
tree | a182d61a2caf3bfcd8371d6752d4f88a197281f9 | |
parent | ebe6d252efc35501eb84d5a775ed92bd5533505d (diff) | |
download | FreeBSD-src-a5ab91191fe8ddca45603099442b778727c6589a.zip FreeBSD-src-a5ab91191fe8ddca45603099442b778727c6589a.tar.gz |
force type match
-rw-r--r-- | sys/dev/wi/if_wi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/wi/if_wi.c b/sys/dev/wi/if_wi.c index 6e2c586..745d68e 100644 --- a/sys/dev/wi/if_wi.c +++ b/sys/dev/wi/if_wi.c @@ -1382,7 +1382,7 @@ wi_rx_intr(struct wi_softc *sc) rstamp = (le16toh(frmhdr.wi_rx_tstamp0) << 16) | le16toh(frmhdr.wi_rx_tstamp1); - tap->wr_tsf = htole64(rstamp); + tap->wr_tsf = htole64((uint64_t)rstamp); /* XXX replace divide by table */ tap->wr_rate = frmhdr.wi_rx_rate / 5; tap->wr_flags = 0; |