From cfea0db3a2e5b1196842a27b01ce951a83afb87a Mon Sep 17 00:00:00 2001 From: Christopher Yeoh Date: Tue, 20 Jul 2010 06:32:36 +0000 Subject: [PATCH] removes spurious compilation warning This commit was SVN r23441. --- ompi/mca/btl/openib/btl_openib_endpoint.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ompi/mca/btl/openib/btl_openib_endpoint.h b/ompi/mca/btl/openib/btl_openib_endpoint.h index 31e3c9246a..05f6f051bd 100644 --- a/ompi/mca/btl/openib/btl_openib_endpoint.h +++ b/ompi/mca/btl/openib/btl_openib_endpoint.h @@ -503,7 +503,8 @@ static inline int post_send(mca_btl_openib_endpoint_t *ep, #if OPAL_ENABLE_DEBUG do { ftr->seq = ep->eager_rdma_remote.seq; - } while (!OPAL_ATOMIC_CMPSET_32(&ep->eager_rdma_remote.seq, ftr->seq, ftr->seq+1)); + } while (!OPAL_ATOMIC_CMPSET_32((int32_t*)&ep->eager_rdma_remote.seq, + (int32_t)ftr->seq, (int32_t)ftr->seq+1)); #endif if(ep->nbo) BTL_OPENIB_FOOTER_HTON(*ftr);