Commit 267d4f2f authored by dickelbeck's avatar dickelbeck

zero fill on shift

parent 6ed78f5b
...@@ -520,7 +520,7 @@ static int WriteSetup( FILE* aFile, WinEDA_BasePcbFrame* aFrame, BOARD* aBoard ) ...@@ -520,7 +520,7 @@ static int WriteSetup( FILE* aFile, WinEDA_BasePcbFrame* aFrame, BOARD* aBoard )
fprintf( aFile, "Layers %d\n", aBoard->GetCopperLayerCount() ); 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 ) for( int layer=0; layerMask; ++layer, layerMask>>=1 )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment