Skip to content

Commit

Permalink
Fix bug in init macro
Browse files Browse the repository at this point in the history
Signed-off-by: Jake Tronge <jtronge@lanl.gov>
  • Loading branch information
jtronge committed Jun 17, 2024
1 parent c657db4 commit a551039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ompi/util/count_disp_array.h
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ static inline void ompi_disp_array_init_c(ompi_disp_array_t *array, const ptrdif
if (sizeof(*(data)) == sizeof(int)) { \
ompi_disp_array_init(array, (const int *) (data)); \
} else if (sizeof(*(data)) == sizeof(ptrdiff_t)) { \
ompi_disp_array_init(array, (const ptrdiff_t *) (data)); \
ompi_disp_array_init_c(array, (const ptrdiff_t *) (data)); \
} \
} while(0)
#endif
Expand Down

0 comments on commit a551039

Please sign in to comment.