mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: writeVTK: label64 compilation
This commit is contained in:
@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user