X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/003b5738f292534807ec502bebc5704810798902..d53d00d608a60a6f05e77ea7b7cd5c4e544d7ab1:/src/smpi/smpi_pmpi.cpp diff --git a/src/smpi/smpi_pmpi.cpp b/src/smpi/smpi_pmpi.cpp index 5335aedad3..658588d36f 100644 --- a/src/smpi/smpi_pmpi.cpp +++ b/src/smpi/smpi_pmpi.cpp @@ -3099,10 +3099,10 @@ int PMPI_Info_dup(MPI_Info info, MPI_Info *newinfo){ (*newinfo)->info_dict= xbt_dict_new_homogeneous(xbt_free_f); (*newinfo)->refcount=1; xbt_dict_cursor_t cursor = nullptr; - int *key; + char* key; void* data; xbt_dict_foreach(info->info_dict,cursor,key,data){ - xbt_dict_set((*newinfo)->info_dict, reinterpret_cast(key), xbt_strdup(reinterpret_cast(data)), nullptr); + xbt_dict_set((*newinfo)->info_dict, key, xbt_strdup(static_cast(data)), nullptr); } return MPI_SUCCESS; }