Skip to content

Commit

Permalink
Avoid use of byte_object_load function
Browse files Browse the repository at this point in the history
Not present in PMIx v5 and we can just do it manually

Signed-off-by: Ralph Castain <[email protected]>
  • Loading branch information
rhc54 committed Jan 8, 2025
1 parent 7ad5742 commit e4142e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/prted/pmix/pmix_server_dyn.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* All rights reserved.
* Copyright (c) 2014-2019 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2021-2024 Nanook Consulting. All rights reserved.
* Copyright (c) 2021-2025 Nanook Consulting All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
Expand Down Expand Up @@ -954,7 +954,8 @@ static void connect_release(pmix_status_t status,
/* process returned data */
if (NULL != data && 0 != sz) {
/* prep for unpacking */
PMIx_Byte_object_load(&bo, (char*)data, sz);
bo.bytes = (char*)data;
bo.size = sz;
PMIX_DATA_BUFFER_CONSTRUCT(&pbkt);
rc = PMIx_Data_embed(&pbkt, &bo);
if (PMIX_SUCCESS != rc) {
Expand Down

0 comments on commit e4142e4

Please sign in to comment.