Skip to content
Snippets Groups Projects
Commit 510b579d authored by mattijs's avatar mattijs
Browse files

COMP: writeVTK: label64 compilation

parent e6572f56
Branches
Tags
No related merge requests found
...@@ -87,7 +87,7 @@ void Foam::triSurface::writeVTK ...@@ -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 ...@@ -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();
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment