X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e1b4987a80f98fb1266086561cefef20c1993a6b..6e7cd3b98b151c28f744e0a778d7efb82e076c38:/src/smpi/bindings/smpi_f77_file.cpp diff --git a/src/smpi/bindings/smpi_f77_file.cpp b/src/smpi/bindings/smpi_f77_file.cpp index 8c757a1530..ac487ba30f 100644 --- a/src/smpi/bindings/smpi_f77_file.cpp +++ b/src/smpi/bindings/smpi_f77_file.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2020. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-2021. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -26,7 +26,7 @@ void mpi_file_open_ ( int* comm, char* filename, int* amode, int* info, int* fh, MPI_File tmp; *ierr= MPI_File_open(simgrid::smpi::Comm::f2c(*comm), filename, *amode, simgrid::smpi::Info::f2c(*info), &tmp); if (*ierr == MPI_SUCCESS) { - *fh = tmp->add_f(); + *fh = tmp->c2f(); } }