From: Maintenance team (INV) Date: Thu, 10 Nov 2016 09:06:34 +0000 (+0300) Subject: RNV: fix compilation on old platforms. X-Git-Tag: V8_2_0b1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=086f414b0928d9f7dda43c382e691a6eca9f722c;p=modules%2Fmed.git RNV: fix compilation on old platforms. --- diff --git a/src/MEDCalc/gui/WorkspaceController.cxx b/src/MEDCalc/gui/WorkspaceController.cxx index a29685830..5560882af 100644 --- a/src/MEDCalc/gui/WorkspaceController.cxx +++ b/src/MEDCalc/gui/WorkspaceController.cxx @@ -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;