Salome HOME
MEDCoupling API renaming - stage #2
[tools/medcoupling.git] / src / ParaMEDMEM / MPIAccess.hxx
index 9f4eea74400aef85f5b1a1c92134031e2d988bf0..039925d807b50498e459d7c46e7f9dc9a994acd7 100644 (file)
@@ -29,7 +29,7 @@
 #include <vector>
 #include <iostream>
 
-namespace ParaMEDMEM
+namespace MEDCoupling
 {
   typedef struct
   {
@@ -322,7 +322,7 @@ namespace ParaMEDMEM
     struct RequestStruct *aRequestStruct = _map_of_request_struct[ RequestId ] ;
     if ( aRequestStruct )
       return aRequestStruct->MPIDatatype;
-    return (MPI_Datatype ) NULL ;
+    return MPI_DATATYPE_NULL;
   }
 
   // Returns the size of the receiving message of the request corresponding to