From 510b579dd60db9c01319e252bba014da45402b8e Mon Sep 17 00:00:00 2001 From: mattijs Date: Thu, 15 Jun 2017 12:31:37 +0100 Subject: [PATCH] COMP: writeVTK: label64 compilation --- src/surfMesh/triSurface/interfaces/VTK/writeVTK.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/surfMesh/triSurface/interfaces/VTK/writeVTK.C b/src/surfMesh/triSurface/interfaces/VTK/writeVTK.C index 047a5c53a7..f4a57b96f8 100644 --- a/src/surfMesh/triSurface/interfaces/VTK/writeVTK.C +++ b/src/surfMesh/triSurface/interfaces/VTK/writeVTK.C @@ -87,7 +87,7 @@ void Foam::triSurface::writeVTK { const Face& f = faceLst[faceMap[faceIndex++]]; - format().write(3); // The size prefix + format().write(label(3)); // The size prefix vtk::writeList(format(), f); } } @@ -131,7 +131,7 @@ void Foam::triSurface::writeVTK for (const Face& f : faceLst) { - format().write(3); // The size prefix + format().write(label(3)); // The size prefix vtk::writeList(format(), f); } format().flush();