[ofw] [PATCH 05/11] Fix build warning when compiling on 32-bit systems.

Davis, Arlin R arlin.r.davis at intel.com
Fri Oct 16 16:49:25 PDT 2009


Signed-off-by: Sean Hefty <sean.hefty at intel.com>
---
 dapl/openib_ucm/cm.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dapl/openib_ucm/cm.c b/dapl/openib_ucm/cm.c
index 36ea419..41a7c9e 100644
--- a/dapl/openib_ucm/cm.c
+++ b/dapl/openib_ucm/cm.c
@@ -497,7 +497,7 @@ retry:
 		notify = 0;
 	
 	for (i = 0; i < ret; i++) {
-		msg = (ib_cm_msg_t*)wc[i].wr_id;
+		msg = (ib_cm_msg_t*) (uintptr_t) wc[i].wr_id;
 
 		dapl_dbg_log(DAPL_DBG_TYPE_CM, 
 			     " ucm_recv: wc status=%d, ln=%d id=%p sqp=%x\n", 
-- 
1.5.2.5




More information about the ofw mailing list