Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Oct 2015 19:46:54 +0000 (UTC)
From:      "Conrad E. Meyer" <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r289259 - head/sys/dev/ntb/if_ntb
Message-ID:  <201510131946.t9DJkslc043382@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cem
Date: Tue Oct 13 19:46:54 2015
New Revision: 289259
URL: https://svnweb.freebsd.org/changeset/base/289259

Log:
  if_ntb: Fix build on i386
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/sys/dev/ntb/if_ntb/if_ntb.c

Modified: head/sys/dev/ntb/if_ntb/if_ntb.c
==============================================================================
--- head/sys/dev/ntb/if_ntb/if_ntb.c	Tue Oct 13 19:46:12 2015	(r289258)
+++ head/sys/dev/ntb/if_ntb/if_ntb.c	Tue Oct 13 19:46:54 2015	(r289259)
@@ -1047,7 +1047,7 @@ ntb_transport_link_work(void *arg)
 	/* send the local info, in the opposite order of the way we read it */
 	for (i = 0; i < num_mw; i++) {
 		rc = ntb_write_remote_spad(ntb, IF_NTB_MW0_SZ_HIGH + (i * 2),
-		    ntb_get_mw_size(ntb, i) >> 32);
+		    (uint64_t)ntb_get_mw_size(ntb, i) >> 32);
 		if (rc != 0)
 			goto out;
 



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