summaryrefslogtreecommitdiffstats
path: root/sys/ofed
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2012-04-04 11:55:20 +0000
committerjhb <jhb@FreeBSD.org>2012-04-04 11:55:20 +0000
commitd2b8d8566cf73d617ca82157e3ad448d5927e925 (patch)
treee3391b637c0bdf8f3e4ec5f8114674b163f5db3b /sys/ofed
parent9c9bd90f632e127fc233408c11d58e8f1686f05f (diff)
downloadFreeBSD-src-d2b8d8566cf73d617ca82157e3ad448d5927e925.zip
FreeBSD-src-d2b8d8566cf73d617ca82157e3ad448d5927e925.tar.gz
Fix build on i386.
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 ab1bb39..0ff11d2 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;
OpenPOWER on IntegriCloud