COMP: writeVTK: label64 compilation

This commit is contained in:
mattijs
2017-06-15 12:31:37 +01:00
parent e6572f56ae
commit 510b579dd6

View File

@ -87,7 +87,7 @@ void Foam::triSurface::writeVTK
{ {
const Face& f = faceLst[faceMap[faceIndex++]]; const Face& f = faceLst[faceMap[faceIndex++]];
format().write(3); // The size prefix format().write(label(3)); // The size prefix
vtk::writeList(format(), f); vtk::writeList(format(), f);
} }
} }
@ -131,7 +131,7 @@ void Foam::triSurface::writeVTK
for (const Face& f : faceLst) for (const Face& f : faceLst)
{ {
format().write(3); // The size prefix format().write(label(3)); // The size prefix
vtk::writeList(format(), f); vtk::writeList(format(), f);
} }
format().flush(); format().flush();