zero fill on shift

This commit is contained in:
dickelbeck 2008-05-02 05:15:48 +00:00
parent 6ed78f5b16
commit 267d4f2f97
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ static int WriteSetup( FILE* aFile, WinEDA_BasePcbFrame* aFrame, BOARD* aBoard )
fprintf( aFile, "Layers %d\n", aBoard->GetCopperLayerCount() );
int layerMask = g_TabAllCopperLayerMask[aBoard->GetCopperLayerCount()-1];
unsigned layerMask = g_TabAllCopperLayerMask[aBoard->GetCopperLayerCount()-1];
for( int layer=0; layerMask; ++layer, layerMask>>=1 )
{