Fix compil error and minor compil warnings

This commit is contained in:
jean-pierre charras
2019-08-27 09:13:07 +02:00
parent 85eed87b28
commit 37b166348a
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -45,7 +45,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 )
{