Skip to content

Commit

Permalink
[surface] nurbs - suppress enumeral comparison warning
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRAgostinho committed Sep 16, 2019
1 parent 1533052 commit 6ee5332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions surface/src/3rdparty/opennurbs/opennurbs_lookup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1441,8 +1441,8 @@ void ON_SerialNumberMap::GarbageCollectHelper()
while ( k < m_sn_block0.m_count && m_sn_block0.m_sn[k].m_sn < sn1 )
snarray[snarray_count++] = m_sn_block0.m_sn[k++];
}
n = (snarray_count > SN_BLOCK_CAPACITY)
? SN_BLOCK_CAPACITY
n = (snarray_count > static_cast<size_t>(SN_BLOCK_CAPACITY))
? static_cast<size_t>(SN_BLOCK_CAPACITY)
: snarray_count;
if ( k < m_sn_block0.m_count )
{
Expand Down

0 comments on commit 6ee5332

Please sign in to comment.