fix minor compil warnings
This commit is contained in:
parent
30a6d33177
commit
67d3528866
|
@ -81,10 +81,10 @@ private:
|
|||
|
||||
UNIT_BINDER m_startX, m_startY;
|
||||
UNIT_BINDER m_endX, m_endY;
|
||||
UNIT_BINDER m_angle;
|
||||
UNIT_BINDER m_thickness;
|
||||
UNIT_BINDER m_segmentLength;
|
||||
UNIT_BINDER m_segmentAngle;
|
||||
UNIT_BINDER m_angle;
|
||||
UNIT_BINDER m_rectangleHeight;
|
||||
UNIT_BINDER m_rectangleWidth;
|
||||
UNIT_BINDER m_bezierCtrl1X, m_bezierCtrl1Y;
|
||||
|
@ -102,12 +102,12 @@ DIALOG_GRAPHIC_ITEM_PROPERTIES::DIALOG_GRAPHIC_ITEM_PROPERTIES( PCB_BASE_EDIT_FR
|
|||
m_startY( aParent, m_startYLabel, m_startYCtrl, m_startYUnits ),
|
||||
m_endX( aParent, m_endXLabel, m_endXCtrl, m_endXUnits ),
|
||||
m_endY( aParent, m_endYLabel, m_endYCtrl, m_endYUnits ),
|
||||
m_thickness( aParent, m_thicknessLabel, m_thicknessCtrl, m_thicknessUnits ),
|
||||
m_segmentLength( aParent, m_segmentLengthLabel, m_segmentLengthCtrl, m_segmentLengthUnits ),
|
||||
m_segmentAngle( aParent, m_segmentAngleLabel, m_segmentAngleCtrl, m_segmentAngleUnits ),
|
||||
m_angle( aParent, m_angleLabel, m_angleCtrl, m_angleUnits ),
|
||||
m_rectangleHeight( aParent, m_rectangleHeightLabel, m_rectangleHeightCtrl, m_rectangleHeightUnits ),
|
||||
m_rectangleWidth( aParent, m_rectangleWidthLabel, m_rectangleWidthCtrl, m_rectangleWidthUnits ),
|
||||
m_angle( aParent, m_angleLabel, m_angleCtrl, m_angleUnits ),
|
||||
m_thickness( aParent, m_thicknessLabel, m_thicknessCtrl, m_thicknessUnits ),
|
||||
m_bezierCtrl1X( aParent, m_BezierPointC1XLabel, m_BezierC1X_Ctrl, m_BezierPointC1XUnit ),
|
||||
m_bezierCtrl1Y( aParent, m_BezierPointC1YLabel, m_BezierC1Y_Ctrl, m_BezierPointC1YUnit ),
|
||||
m_bezierCtrl2X( aParent, m_BezierPointC2XLabel, m_BezierC2X_Ctrl, m_BezierPointC2XUnit ),
|
||||
|
|
|
@ -102,7 +102,7 @@ PyObject* PYTHON_ACTION_PLUGIN::CallMethod( const char* aMethod, PyObject* aArgl
|
|||
int maxLen = 0;
|
||||
|
||||
for( const wxString& msg : messages )
|
||||
if( msg.length() > maxLen )
|
||||
if( (int)msg.length() > maxLen )
|
||||
maxLen = msg.length();
|
||||
|
||||
wxChar ch = '*';
|
||||
|
|
Loading…
Reference in New Issue