Fix some warnings.
This commit is contained in:
parent
865e3a9f3c
commit
b1180d9377
|
@ -1552,7 +1552,7 @@ static void fractureSingleCacheFriendly( SHAPE_POLY_SET::POLYGON& paths )
|
|||
total_point_count += path.PointCount();
|
||||
}
|
||||
|
||||
if( total_point_count > std::numeric_limits<FractureEdge::Index>::max() )
|
||||
if( total_point_count > (size_t) std::numeric_limits<FractureEdge::Index>::max() )
|
||||
{
|
||||
wxLogWarning( wxT( "Polygon has more points than int limit" ) );
|
||||
return;
|
||||
|
|
|
@ -93,8 +93,8 @@ bool DIALOG_TABLECELL_PROPERTIES::TransferDataToWindow()
|
|||
return false;
|
||||
|
||||
bool firstCell = true;
|
||||
GR_TEXT_H_ALIGN_T hAlign;
|
||||
GR_TEXT_V_ALIGN_T vAlign;
|
||||
GR_TEXT_H_ALIGN_T hAlign = GR_TEXT_H_ALIGN_INDETERMINATE;
|
||||
GR_TEXT_V_ALIGN_T vAlign = GR_TEXT_V_ALIGN_INDETERMINATE;
|
||||
|
||||
for( PCB_TABLECELL* cell : m_cells )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue