Fix compilation errors/warnings when using g++ 4.3 (snapshot).
This commit is contained in:
parent
7559e1347c
commit
ad55799485
|
@ -6,6 +6,7 @@
|
|||
|
||||
using namespace std;
|
||||
|
||||
#include <algorithm> // sort
|
||||
#include <vector>
|
||||
|
||||
#include "common.h"
|
||||
|
|
|
@ -130,6 +130,7 @@ void WinEDA_DrillFrame::InitDisplayParams( void )
|
|||
for( D_PAD* pad = module->m_Pads; pad != NULL; pad = pad->Next() )
|
||||
{
|
||||
if( pad->m_DrillShape == PAD_CIRCLE )
|
||||
{
|
||||
if( pad->m_Drill.x != 0 )
|
||||
m_PadsHoleCount++;
|
||||
else
|
||||
|
@ -137,6 +138,7 @@ void WinEDA_DrillFrame::InitDisplayParams( void )
|
|||
m_PadsHoleCount++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
msg = m_PadsCountInfoMsg->GetLabel();
|
||||
msg << wxT( " " ) << m_PadsHoleCount;
|
||||
|
|
Loading…
Reference in New Issue