Skip to content
Snippets Groups Projects
Commit 317ea696 authored by mattijs's avatar mattijs
Browse files

COMP: STLsurfaceFormatCore : signed/unsigned comparison

parent 6a53dae3
Branches
Tags
No related merge requests found
......@@ -123,8 +123,8 @@ bool Foam::fileFormats::STLsurfaceFormatCore::readBINARY
(
!is
|| nTris < 0
|| nTris < (dataFileSize - headerSize)/50
|| nTris > (dataFileSize - headerSize)/25
|| nTris < int(dataFileSize - headerSize)/50
|| nTris > int(dataFileSize - headerSize)/25
)
{
FatalErrorIn
......
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