Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 May 2009 04:00:31 +0000 (UTC)
From:      Sam Leffler <sam@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r192517 - head/sys/dev/wi
Message-ID:  <200905210400.n4L40VoI053925@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905210400.n4L40VoI053925>