From 120cf76ad84382e0a16ee4d639b48cbfc2c40f82 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Mon, 2 Apr 2007 19:11:06 +0000 Subject: [PATCH] Remove some warnings. This commit was SVN r14196. --- ompi/mca/btl/udapl/btl_udapl_component.c | 4 ++-- ompi/mca/coll/tuned/coll_tuned_scatter.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ompi/mca/btl/udapl/btl_udapl_component.c b/ompi/mca/btl/udapl/btl_udapl_component.c index f56779acb9..949765cf87 100644 --- a/ompi/mca/btl/udapl/btl_udapl_component.c +++ b/ompi/mca/btl/udapl/btl_udapl_component.c @@ -678,8 +678,8 @@ int mca_btl_udapl_component_progress() /* Was the DTO successful? */ if(DAT_DTO_SUCCESS != dto->status) { OPAL_OUTPUT((0, - "btl_udapl ***** DTO error %d %d %u %p*****\n", - dto->status, frag->type, frag->size, dto->ep_handle)); + "btl_udapl ***** DTO error %d %d %lu %p*****\n", + dto->status, frag->type, (unsigned long)frag->size, dto->ep_handle)); break; } diff --git a/ompi/mca/coll/tuned/coll_tuned_scatter.c b/ompi/mca/coll/tuned/coll_tuned_scatter.c index 3586d4efd9..673c3c328f 100644 --- a/ompi/mca/coll/tuned/coll_tuned_scatter.c +++ b/ompi/mca/coll/tuned/coll_tuned_scatter.c @@ -43,7 +43,7 @@ ompi_coll_tuned_scatter_intra_binomial(void *sbuf, int scount, int rank; int vrank; int size; - int total_recv = 0, total_send = 0; + int total_send = 0; char *ptmp = NULL; char *tempbuf = NULL; int err; @@ -56,7 +56,7 @@ ompi_coll_tuned_scatter_intra_binomial(void *sbuf, int scount, rank = ompi_comm_rank(comm); OPAL_OUTPUT((ompi_coll_tuned_stream, - "ompi_coll_tuned_scatter_intra_binomial rank %d", rank)); + "ompi_coll_tuned_scatter_intra_binomial rank %d", rank)); /* create the binomial tree */ COLL_TUNED_UPDATE_IN_ORDER_BMTREE( comm, root ); @@ -172,7 +172,7 @@ ompi_coll_tuned_scatter_intra_binomial(void *sbuf, int scount, OPAL_OUTPUT((ompi_coll_tuned_stream, "%s:%4d\tError occurred %d, rank %2d", __FILE__, line, err, rank)); - return err; + return err; } /*