Loading pcbnew/zones_test_and_combine_areas.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -719,8 +719,8 @@ int BOARD::CombineAreas( ZONE_CONTAINER* area_ref, ZONE_CONTAINER* area_to_combi bool first = true; while( booleng->PolygonHasMorePoints() ) { int x = booleng->GetPolygonXPoint(); int y = booleng->GetPolygonYPoint(); int x = (int)booleng->GetPolygonXPoint(); int y = (int)booleng->GetPolygonYPoint(); if( first ) { first = false; Loading Loading @@ -779,8 +779,8 @@ int BOARD::CombineAreas( ZONE_CONTAINER* area_ref, ZONE_CONTAINER* area_to_combi } while( booleng->PolygonHasMorePoints() ) { int x = booleng->GetPolygonXPoint(); int y = booleng->GetPolygonYPoint(); int x = (int)booleng->GetPolygonXPoint(); int y = (int)booleng->GetPolygonYPoint(); area_ref->m_Poly->AppendCorner( x, y ); } Loading polygon/PolyLine.cpp +10 −10 Original line number Diff line number Diff line Loading @@ -83,8 +83,8 @@ int CPolyLine::NormalizeWithKbool( std::vector<CPolyLine*> * aExtraPolyList, boo hole_array.push_back( hole ); while( m_Kbool_Poly_Engine->PolygonHasMorePoints() ) // store hole { int x = m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = m_Kbool_Poly_Engine->GetPolygonYPoint(); int x = (int)m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = (int)m_Kbool_Poly_Engine->GetPolygonYPoint(); hole->push_back( x ); hole->push_back( y ); } Loading @@ -99,8 +99,8 @@ int CPolyLine::NormalizeWithKbool( std::vector<CPolyLine*> * aExtraPolyList, boo bool first = true; while( m_Kbool_Poly_Engine->PolygonHasMorePoints() ) { // foreach point in the polygon int x = m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = m_Kbool_Poly_Engine->GetPolygonYPoint(); int x = (int)m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = (int)m_Kbool_Poly_Engine->GetPolygonYPoint(); if( first ) { first = false; Loading @@ -121,8 +121,8 @@ int CPolyLine::NormalizeWithKbool( std::vector<CPolyLine*> * aExtraPolyList, boo bool first = true; while( m_Kbool_Poly_Engine->PolygonHasMorePoints() ) // read next external contour { int x = m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = m_Kbool_Poly_Engine->GetPolygonYPoint(); int x = (int)m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = (int)m_Kbool_Poly_Engine->GetPolygonYPoint(); if( first ) { first = false; Loading Loading @@ -225,8 +225,8 @@ int CPolyLine::AddPolygonsToBoolEng( Bool_Engine* aBooleng, { while( m_Kbool_Poly_Engine->PolygonHasMorePoints() ) { int x = m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = m_Kbool_Poly_Engine->GetPolygonYPoint(); int x = (int)m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = (int)m_Kbool_Poly_Engine->GetPolygonYPoint(); aBooleng->AddPoint( x, y ); count++; } Loading Loading @@ -293,8 +293,8 @@ int CPolyLine::MakeKboolPoly( int aStart_contour, int aEnd_contour, std::vector< { while( m_Kbool_Poly_Engine->PolygonHasMorePoints() ) { int x = m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = m_Kbool_Poly_Engine->GetPolygonYPoint(); int x = (int)m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = (int)m_Kbool_Poly_Engine->GetPolygonYPoint(); booleng->AddPoint( x, y ); } Loading Loading
pcbnew/zones_test_and_combine_areas.cpp +4 −4 Original line number Diff line number Diff line Loading @@ -719,8 +719,8 @@ int BOARD::CombineAreas( ZONE_CONTAINER* area_ref, ZONE_CONTAINER* area_to_combi bool first = true; while( booleng->PolygonHasMorePoints() ) { int x = booleng->GetPolygonXPoint(); int y = booleng->GetPolygonYPoint(); int x = (int)booleng->GetPolygonXPoint(); int y = (int)booleng->GetPolygonYPoint(); if( first ) { first = false; Loading Loading @@ -779,8 +779,8 @@ int BOARD::CombineAreas( ZONE_CONTAINER* area_ref, ZONE_CONTAINER* area_to_combi } while( booleng->PolygonHasMorePoints() ) { int x = booleng->GetPolygonXPoint(); int y = booleng->GetPolygonYPoint(); int x = (int)booleng->GetPolygonXPoint(); int y = (int)booleng->GetPolygonYPoint(); area_ref->m_Poly->AppendCorner( x, y ); } Loading
polygon/PolyLine.cpp +10 −10 Original line number Diff line number Diff line Loading @@ -83,8 +83,8 @@ int CPolyLine::NormalizeWithKbool( std::vector<CPolyLine*> * aExtraPolyList, boo hole_array.push_back( hole ); while( m_Kbool_Poly_Engine->PolygonHasMorePoints() ) // store hole { int x = m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = m_Kbool_Poly_Engine->GetPolygonYPoint(); int x = (int)m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = (int)m_Kbool_Poly_Engine->GetPolygonYPoint(); hole->push_back( x ); hole->push_back( y ); } Loading @@ -99,8 +99,8 @@ int CPolyLine::NormalizeWithKbool( std::vector<CPolyLine*> * aExtraPolyList, boo bool first = true; while( m_Kbool_Poly_Engine->PolygonHasMorePoints() ) { // foreach point in the polygon int x = m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = m_Kbool_Poly_Engine->GetPolygonYPoint(); int x = (int)m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = (int)m_Kbool_Poly_Engine->GetPolygonYPoint(); if( first ) { first = false; Loading @@ -121,8 +121,8 @@ int CPolyLine::NormalizeWithKbool( std::vector<CPolyLine*> * aExtraPolyList, boo bool first = true; while( m_Kbool_Poly_Engine->PolygonHasMorePoints() ) // read next external contour { int x = m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = m_Kbool_Poly_Engine->GetPolygonYPoint(); int x = (int)m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = (int)m_Kbool_Poly_Engine->GetPolygonYPoint(); if( first ) { first = false; Loading Loading @@ -225,8 +225,8 @@ int CPolyLine::AddPolygonsToBoolEng( Bool_Engine* aBooleng, { while( m_Kbool_Poly_Engine->PolygonHasMorePoints() ) { int x = m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = m_Kbool_Poly_Engine->GetPolygonYPoint(); int x = (int)m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = (int)m_Kbool_Poly_Engine->GetPolygonYPoint(); aBooleng->AddPoint( x, y ); count++; } Loading Loading @@ -293,8 +293,8 @@ int CPolyLine::MakeKboolPoly( int aStart_contour, int aEnd_contour, std::vector< { while( m_Kbool_Poly_Engine->PolygonHasMorePoints() ) { int x = m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = m_Kbool_Poly_Engine->GetPolygonYPoint(); int x = (int)m_Kbool_Poly_Engine->GetPolygonXPoint(); int y = (int)m_Kbool_Poly_Engine->GetPolygonYPoint(); booleng->AddPoint( x, y ); } Loading