mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: 64-bit label ambiguity
This commit is contained in:
@ -508,7 +508,7 @@ void Foam::ensightCase::write() const
|
||||
}
|
||||
if (tsCloud < 0)
|
||||
{
|
||||
tsCloud = 1 + std::max(1, tsGeom); // Next available timeset
|
||||
tsCloud = 1 + std::max(label(1), tsGeom); // Next available timeset
|
||||
}
|
||||
|
||||
writeHeader();
|
||||
|
||||
Reference in New Issue
Block a user