]> SALOME platform Git repositories - modules/med.git/commitdiff
Salome HOME
RNV: fix compilation on old platforms.
authorMaintenance team (INV) <mnt@vm-cos64-64-01.nnov.opencascade.com>
Thu, 10 Nov 2016 09:06:34 +0000 (12:06 +0300)
committerMaintenance team (INV) <mnt@vm-cos64-64-01.nnov.opencascade.com>
Thu, 10 Nov 2016 09:06:34 +0000 (12:06 +0300)
src/MEDCalc/gui/WorkspaceController.cxx

index a29685830460ad95da0c11fabd337dafb7a76684..5560882af3630d0d3842d489850ecef198b1bc00 100644 (file)
@@ -337,7 +337,7 @@ void WorkspaceController::processMedEvent(const MEDCALC::MedEvent* event) {
 
     // Workaround to visualize the result
     MEDCouplingFieldDouble* fieldDouble = MEDDataManager_i::getInstance()->getFieldDouble(fieldHandler);
-    std::string filename = std::tmpnam(nullptr);
+    std::string filename = std::tmpnam(NULL);
     WriteField(filename.c_str(), fieldDouble, true);
 
     QStringList commands;