From 5c81658d58e260170c995030ac17e42a4032e2dd Mon Sep 17 00:00:00 2001 From: Gilles Gouaillardet Date: Wed, 15 Oct 2014 17:17:09 +0900 Subject: [PATCH] pmix: fix big endian arch use the appropriate 64 bits type otherwise data gets incorrectly truncated on big endian arch --- opal/mca/pmix/native/pmix_native.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/opal/mca/pmix/native/pmix_native.c b/opal/mca/pmix/native/pmix_native.c index 37758daae2..6e771eaba5 100644 --- a/opal/mca/pmix/native/pmix_native.c +++ b/opal/mca/pmix/native/pmix_native.c @@ -388,7 +388,7 @@ static int native_fence(opal_process_name_t *procs, size_t nprocs) opal_value_t *kp; opal_identifier_t id; size_t i; - uint32_t np; + uint64_t np; opal_output_verbose(2, opal_pmix_base_framework.framework_output, "%s pmix:native executing fence on %u procs", @@ -562,7 +562,7 @@ static void fencenb_cbfunc(opal_buffer_t *buf, void *cbdata) opal_value_t *kp; opal_identifier_t id; size_t i; - uint32_t np; + uint64_t np; /* get the number of contributors */ cnt = 1;