aboutsummaryrefslogtreecommitdiff
path: root/sys/ofed
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2012-04-04 11:55:20 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2012-04-04 11:55:20 +0000
commit8b39d094aa88b23f0367f95c9de4787610d9e0af (patch)
treee3391b637c0bdf8f3e4ec5f8114674b163f5db3b /sys/ofed
parent16410af7fa2427590ee5062b43c5ffff08dccdd7 (diff)
downloadsrc-8b39d094aa88b23f0367f95c9de4787610d9e0af.tar.gz
src-8b39d094aa88b23f0367f95c9de4787610d9e0af.zip
Fix build on i386.
Notes
Notes: svn path=/head/; revision=233870
Diffstat (limited to 'sys/ofed')
-rw-r--r--sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c b/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
index ab1bb3997ae5..0ff11d2c4852 100644
--- a/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
+++ b/sys/ofed/drivers/infiniband/ulp/ipoib/ipoib_main.c
@@ -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;