wimax: fix wrong downcast

This commit is contained in:
Gabriel Ferreira
2021-08-26 15:33:59 -03:00
committed by Tommaso Pecorella
parent 4aef3a52c1
commit 442536cd8b

View File

@@ -156,7 +156,7 @@ ServiceFlow::ServiceFlow (Tlv tlv)
}
case SfVectorTlvValue::Fixed_length_versus_Variable_length_SDU_Indicator:
{
m_fixedversusVariableSduIndicator = ((U16TlvValue*)((*iter)->PeekValue ()))->GetValue ();
m_fixedversusVariableSduIndicator = ((U8TlvValue*)((*iter)->PeekValue ()))->GetValue ();
break;
}
case SfVectorTlvValue::CS_Specification: