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;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"