fix compil error

This commit is contained in:
jean-pierre charras 2019-08-28 10:05:25 +02:00
parent 1607ceaf3e
commit 93d191d7c9
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ EDIT_POINTS::EDIT_POINTS( EDA_ITEM* aParent )
EDIT_POINT* EDIT_POINTS::FindPoint( const VECTOR2I& aLocation, KIGFX::VIEW *aView ) // fixme: ugly
{
unsigned size = std::abs<int>( KiROUND( aView->ToWorld( EDIT_POINT::POINT_SIZE ) ) );
unsigned size = std::abs( KiROUND( aView->ToWorld( EDIT_POINT::POINT_SIZE ) ) );
if( m_allowPoints )
{