Skip to content
Snippets Groups Projects
Commit f6c9f773 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fix compile

parent b943ca87
No related branches found
No related tags found
No related merge requests found
......@@ -670,7 +670,7 @@ bool PViewDataGModel::writeMED(std::string fileName)
int numComp = _steps[0]->getNumComponents();
#if (MED_MAJOR_NUM == 3)
if(MEDfieldCr(fid, fieldName, MED_FLOAT64, (med_int)numComp, "unknown", "unknown",
"unknown", meshname) < 0){
"unknown", meshName) < 0){
#else
if(MEDchampCr(fid, fieldName, MED_FLOAT64, (char*)"unknown", (char*)"unknown",
(med_int)numComp) < 0){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment