fixed: print size_t as %z

This commit is contained in:
Arne Morten Kvarving
2018-08-13 12:28:05 +02:00
parent 7fa48c08ff
commit 7e1fd7d701

View File

@@ -323,7 +323,7 @@ bool SIMoutput::writeGlvG (int& nBlock, const char* inpFile, bool doClear)
for (i = 0; i < myModel.size(); i++)
if ((lvb = myModel[i]->immersedGeometry()))
{
sprintf(pname,"Immersed boundary %ld",i+1);
sprintf(pname,"Immersed boundary %zu",i+1);
if (!myVtf->writeGrid(lvb,pname,++nBlock))
return false;
}