summaryrefslogtreecommitdiffstats
path: root/src/kiro-rdma.h
diff options
context:
space:
mode:
authorTimo Dritschler <timo.dritschler@kit.edu>2014-11-21 17:54:13 +0100
committerTimo Dritschler <timo.dritschler@kit.edu>2014-11-21 17:54:13 +0100
commit5235e634860744f0b1251b0e50e89446f93381c2 (patch)
treeb2ead7723f9d7fe30ca5fc000b7f37dd150d0561 /src/kiro-rdma.h
parentf98bd3a5d58c59d950aa7318e9b708c42d51687f (diff)
downloadkiro-5235e634860744f0b1251b0e50e89446f93381c2.tar.gz
kiro-5235e634860744f0b1251b0e50e89446f93381c2.tar.bz2
kiro-5235e634860744f0b1251b0e50e89446f93381c2.tar.xz
kiro-5235e634860744f0b1251b0e50e89446f93381c2.zip
Fix #1: Added missing documentation to TRB, Client and Server header
Fixed build warnings Fixed a bug in kiro-test-bandwidth
Diffstat (limited to 'src/kiro-rdma.h')
-rw-r--r--src/kiro-rdma.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kiro-rdma.h b/src/kiro-rdma.h
index 9a3cbe8..af502ec 100644
--- a/src/kiro-rdma.h
+++ b/src/kiro-rdma.h
@@ -81,7 +81,7 @@ kiro_attach_qp (struct rdma_cm_id *id)
id->recv_cq = id->send_cq; //we use one shared completion queue
struct ibv_qp_init_attr qp_attr;
memset (&qp_attr, 0, sizeof (struct ibv_qp_init_attr));
- qp_attr.qp_context = (uintptr_t)id;
+ qp_attr.qp_context = (void *) (uintptr_t) id;
qp_attr.send_cq = id->send_cq;
qp_attr.recv_cq = id->recv_cq;
qp_attr.qp_type = IBV_QPT_RC;