From 50afb5288457bbe4f5e46c6d30cd264cba8405b6 Mon Sep 17 00:00:00 2001 From: Ed Hartnett Date: Sun, 10 Mar 2019 11:33:30 -0600 Subject: [PATCH] fixed warning --- tests/cunit/test_async_mpi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cunit/test_async_mpi.c b/tests/cunit/test_async_mpi.c index b837e5c007e..43629b83bb3 100644 --- a/tests/cunit/test_async_mpi.c +++ b/tests/cunit/test_async_mpi.c @@ -135,8 +135,8 @@ int msg_handler(int verbose, int my_rank, int io_rank, int component_count, { if (verbose) printf("my_rank %d cmp %d about to call MPI_Irecv comproot[cmp] %d " - "union_comm[cmp] %d\n", my_rank, cmp, comproot[cmp], - (int)(union_comm[cmp])); + "union_comm[cmp] %ld\n", my_rank, cmp, comproot[cmp], + (long long int)(union_comm[cmp])); if ((mpierr = MPI_Irecv(&msg, 1, MPI_INT, comproot[cmp], MPI_ANY_TAG, union_comm[cmp], &req[cmp]))) MPIERR(mpierr);