enum * double is deprecated

This commit is contained in:
Marek Roszko 2024-04-13 15:14:39 -04:00
parent d7685a40ee
commit 7d68e19afa
1 changed files with 1 additions and 1 deletions

View File

@ -728,7 +728,7 @@ void EXPORTER_PCB_VRML::ComputeLayer3D_Zpos()
// Compute each layer's Z value, more or less like the 3d view
for( LSEQ seq = LSET::AllCuMask().Seq(); seq; ++seq )
{
PCB_LAYER_ID i = *seq;
int i = static_cast<int>( *seq );
if( i < copper_layers )
SetLayerZ( i, half_thickness - m_brd_thickness * i / (copper_layers - 1) );