diff mbox

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

Message ID E3280858FA94444CA49D2BA02341C9835ECA1CBE@orsmsx506.amr.corp.intel.com (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Arlin Davis Oct. 16, 2009, 11:49 p.m. UTC
None
diff mbox

Patch

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",