1
1

fcoll/dynamic_gen2: minor compiler warning stomp

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
Этот коммит содержится в:
Jeff Squyres 2018-05-30 10:07:22 -07:00
родитель 2dce549df2
Коммит 25f2d02c61

Просмотреть файл

@ -13,6 +13,7 @@
* Copyright (c) 2015-2017 Research Organization for Information Science * Copyright (c) 2015-2017 Research Organization for Information Science
* and Technology (RIST). All rights reserved. * and Technology (RIST). All rights reserved.
* Copyright (c) 2017 IBM Corporation. All rights reserved. * Copyright (c) 2017 IBM Corporation. All rights reserved.
* Copyright (c) 2018 Cisco Systems, Inc. All rights reserved
* $COPYRIGHT$ * $COPYRIGHT$
* *
* Additional copyrights may follow * Additional copyrights may follow
@ -1162,7 +1163,7 @@ static int shuffle_init ( int index, int cycles, int aggregator, int rank, mca_i
int block_index = -1; int block_index = -1;
int blocklength_size = INIT_LEN; int blocklength_size = INIT_LEN;
ptrdiff_t send_mem_address = NULL; ptrdiff_t send_mem_address = (ptrdiff_t) NULL;
ompi_datatype_t *newType = MPI_DATATYPE_NULL; ompi_datatype_t *newType = MPI_DATATYPE_NULL;
blocklength_proc = (int *) calloc (blocklength_size, sizeof (int)); blocklength_proc = (int *) calloc (blocklength_size, sizeof (int));
displs_proc = (ptrdiff_t *) calloc (blocklength_size, sizeof (ptrdiff_t)); displs_proc = (ptrdiff_t *) calloc (blocklength_size, sizeof (ptrdiff_t));