From d11dbaa52e44b19dd64f53297e6b6fa4ed6e56c2 Mon Sep 17 00:00:00 2001 From: Josh Hursey Date: Thu, 7 Apr 2005 19:24:46 +0000 Subject: [PATCH] mo changes for types in pack and unpack This commit was SVN r5211. --- src/mca/ns/replica/src/ns_replica_component.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mca/ns/replica/src/ns_replica_component.c b/src/mca/ns/replica/src/ns_replica_component.c index 6a916557c1..a3df890399 100644 --- a/src/mca/ns/replica/src/ns_replica_component.c +++ b/src/mca/ns/replica/src/ns_replica_component.c @@ -299,7 +299,7 @@ void orte_ns_replica_recv(int status, orte_process_name_t* sender, char *tagname; orte_rml_tag_t oob_tag; size_t count; - int rc=ORTE_SUCCESS, ret; + int32_t rc=ORTE_SUCCESS, ret; count = 1; if (ORTE_SUCCESS != (rc = orte_dps.unpack(buffer, (void*)&command, &count, ORTE_NS_CMD))) { @@ -421,7 +421,7 @@ void orte_ns_replica_recv(int status, orte_process_name_t* sender, RETURN_ERROR: OBJ_CONSTRUCT(&error_answer, orte_buffer_t); orte_dps.pack(&error_answer, (void*)&command, 1, ORTE_NS_CMD); - orte_dps.pack(&error_answer, (void*)&rc, 1, ORTE_INT32); + orte_dps.pack(&error_answer, &rc, 1, ORTE_INT32); orte_rml.send_buffer(sender, &error_answer, tag, 0); OBJ_DESTRUCT(&error_answer); }