Skip to content

Commit

Permalink
Verbs: Fix CMI_DEST_RANK_NET macro
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-charmworks committed Jun 22, 2023
1 parent 09c2b99 commit 7af2d21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/arch/netlrts/machine-persistent.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
#include "persist_impl.h"

#define CMI_DEST_RANK_NET(msg) *(int *)(msg)
#define CMI_DEST_RANK_NET(msg) ((CmiMsgHeaderBasic*)msg)->rank
int persistentSendMsgHandlerIdx;

static void sendPerMsgHandler(char *msg)
Expand Down
2 changes: 1 addition & 1 deletion src/arch/verbs/machine-persistent.C
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
#include "persist_impl.h"

#define CMI_DEST_RANK_NET(msg) *(int *)(msg)
#define CMI_DEST_RANK_NET(msg) ((CmiMsgHeaderBasic*)msg)->rank
int persistentSendMsgHandlerIdx;

static void sendPerMsgHandler(char *msg)
Expand Down

0 comments on commit 7af2d21

Please sign in to comment.