svn commit: r192517 - head/sys/dev/wi

Sam Leffler sam at FreeBSD.org
Thu May 21 04:00:31 UTC 2009


Author: sam
Date: Thu May 21 04:00:31 2009
New Revision: 192517
URL: http://svn.freebsd.org/changeset/base/192517

Log:
  force type match

Modified:
  head/sys/dev/wi/if_wi.c

Modified: head/sys/dev/wi/if_wi.c
==============================================================================
--- head/sys/dev/wi/if_wi.c	Thu May 21 03:35:02 2009	(r192516)
+++ head/sys/dev/wi/if_wi.c	Thu May 21 04:00:31 2009	(r192517)
@@ -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;


More information about the svn-src-all mailing list