Just match the type to the comparison type on second thought
This commit is contained in:
parent
675938375b
commit
3a718385cf
|
@ -478,7 +478,7 @@ private:
|
|||
|
||||
// first look for points in increasing z-order
|
||||
Vertex* p = aPt->nextZ;
|
||||
int64_t min_dist = std::numeric_limits<int64_t>::max();
|
||||
SEG::ecoord min_dist = std::numeric_limits<SEG::ecoord>::max();
|
||||
Vertex* retval = nullptr;
|
||||
|
||||
while( p && p->z <= maxZ )
|
||||
|
|
Loading…
Reference in New Issue