@@ -611,7 +611,7 @@ handle_getting(ct_msg_t *msg, int cb_image, void *baseptr, void *dst_ptr,
611
611
void * src_ptr ;
612
612
size_t charlen , send_size ;
613
613
int i ;
614
- mpi_caf_token_t src_token = {(void * )msg -> ra_id , MPI_WIN_NULL , nullptr };
614
+ mpi_caf_token_t src_token = {(void * )msg -> ra_id , MPI_WIN_NULL , NULL };
615
615
616
616
if (msg -> flags & CT_SRC_HAS_DESC )
617
617
{
@@ -759,7 +759,7 @@ handle_is_present_message(ct_msg_t *msg, void *baseptr)
759
759
int ierr = 0 ;
760
760
void * add_data , * ptr ;
761
761
int32_t result ;
762
- mpi_caf_token_t src_token = {(void * )msg -> ra_id , MPI_WIN_NULL , nullptr };
762
+ mpi_caf_token_t src_token = {(void * )msg -> ra_id , MPI_WIN_NULL , NULL };
763
763
764
764
add_data = msg -> data ;
765
765
if (msg -> flags & CT_SRC_HAS_DESC )
@@ -787,7 +787,7 @@ handle_send_message(ct_msg_t *msg, void *baseptr)
787
787
{
788
788
int ierr = 0 ;
789
789
void * src_ptr , * buffer , * dst_ptr , * add_data ;
790
- mpi_caf_token_t src_token = {(void * )msg -> ra_id , MPI_WIN_NULL , nullptr };
790
+ mpi_caf_token_t src_token = {(void * )msg -> ra_id , MPI_WIN_NULL , NULL };
791
791
792
792
dprint ("ct: putting data using %d accessor.\n" , msg -> accessor_index );
793
793
buffer = msg -> data ;
@@ -5461,7 +5461,7 @@ get_from_self(caf_token_t token, const gfc_descriptor_t *opt_src_desc,
5461
5461
? (dst_incl_desc ? opt_dst_desc : (void * )& tmp_desc )
5462
5462
: dst_data ;
5463
5463
const bool needs_copy_back = opt_dst_desc && !may_realloc_dst ;
5464
- mpi_caf_token_t src_token = {get_data , MPI_WIN_NULL , nullptr };
5464
+ mpi_caf_token_t src_token = {get_data , MPI_WIN_NULL , NULL };
5465
5465
void * src_ptr = has_src_desc ? (void * )opt_src_desc
5466
5466
: ((mpi_caf_token_t * )token )-> memptr ;
5467
5467
@@ -5753,7 +5753,7 @@ PREFIX(is_present_on_remote)(caf_token_t token, const int image_index,
5753
5753
if (this_image == remote_image )
5754
5754
{
5755
5755
int32_t result = 0 ;
5756
- mpi_caf_token_t src_token = {get_data , MPI_WIN_NULL , nullptr };
5756
+ mpi_caf_token_t src_token = {get_data , MPI_WIN_NULL , NULL };
5757
5757
void * src_ptr = ((mpi_caf_token_t * )token )-> memptr ;
5758
5758
5759
5759
dprint ("Shortcutting due to self access on image %d.\n" , image_index );
@@ -5832,7 +5832,7 @@ send_to_self(caf_token_t token, gfc_descriptor_t *opt_dst_desc,
5832
5832
|| (!opt_src_desc && ((mpi_caf_token_t * )token )-> memptr == src_data );
5833
5833
void * dst_ptr
5834
5834
= opt_dst_desc ? opt_dst_desc : ((mpi_caf_token_t * )token )-> memptr ;
5835
- mpi_caf_token_t src_token = {add_data , MPI_WIN_NULL , nullptr };
5835
+ mpi_caf_token_t src_token = {add_data , MPI_WIN_NULL , NULL };
5836
5836
const void * src_ptr = opt_src_desc ? opt_src_desc : src_data ,
5837
5837
* orig_src_ptr = src_ptr ;
5838
5838
const size_t sz
0 commit comments