Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Apr 2012 11:55:20 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r233870 - head/sys/ofed/drivers/infiniband/ulp/ipoib
Message-ID:  <201204041155.q34BtKDQ002173@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Wed Apr  4 11:55:20 2012
New Revision: 233870
URL: http://svn.freebsd.org/changeset/base/233870

Log:
  Fix build on i386.

Modified:
  head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c

Modified: head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
==============================================================================
--- head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c	Wed Apr  4 10:33:54 2012	(r233869)
+++ head/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c	Wed Apr  4 11:55:20 2012	(r233870)
@@ -876,7 +876,7 @@ ipoib_intf_alloc(const char *name)
 	dev->if_output = ipoib_output;
 	dev->if_input = ipoib_input;
 	dev->if_resolvemulti = ipoib_resolvemulti;
-	dev->if_baudrate = IF_Gbps(10LL);
+	dev->if_baudrate = IF_Gbps(10UL);
 	dev->if_broadcastaddr = priv->broadcastaddr;
 	dev->if_snd.ifq_maxlen = ipoib_sendq_size * 2;
 	sdl = (struct sockaddr_dl *)dev->if_addr->ifa_addr;



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