fixed type casting issue with NormSenderNode::backoff_factor
parent
acbc31c1d0
commit
d00ebc22d2
|
|
@ -556,7 +556,7 @@ class NormSenderNode : public NormNode, public ProtoTree::Item
|
||||||
|
|
||||||
UINT8 GetGrttQuantized() const
|
UINT8 GetGrttQuantized() const
|
||||||
{return grtt_quantized;}
|
{return grtt_quantized;}
|
||||||
UINT8 GetBackoffFactor() const
|
double GetBackoffFactor() const
|
||||||
{return backoff_factor;}
|
{return backoff_factor;}
|
||||||
UINT8 GetGroupSizeQuantized() const
|
UINT8 GetGroupSizeQuantized() const
|
||||||
{return gsize_quantized;}
|
{return gsize_quantized;}
|
||||||
|
|
|
||||||
|
|
@ -249,6 +249,8 @@
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\examples\normCast.cpp" />
|
<ClCompile Include="..\..\examples\normCast.cpp" />
|
||||||
|
<ClCompile Include="..\..\src\common\normPostProcess.cpp" />
|
||||||
|
<ClCompile Include="..\..\src\win32\win32PostProcess.cpp" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\..\protolib\makefiles\win32\Protokit.vcxproj">
|
<ProjectReference Include="..\..\protolib\makefiles\win32\Protokit.vcxproj">
|
||||||
|
|
|
||||||
|
|
@ -3157,7 +3157,7 @@ bool NormSession::InsertRemoteSender(NormSenderNode &sender)
|
||||||
cmd.SetDestination(sender.GetAddress());
|
cmd.SetDestination(sender.GetAddress());
|
||||||
cmd.SetInstanceId(sender.GetInstanceId());
|
cmd.SetInstanceId(sender.GetInstanceId());
|
||||||
cmd.SetGrtt(sender.GetGrttQuantized());
|
cmd.SetGrtt(sender.GetGrttQuantized());
|
||||||
cmd.SetBackoffFactor(sender.GetBackoffFactor());
|
cmd.SetBackoffFactor((UINT8)sender.GetBackoffFactor());
|
||||||
cmd.SetGroupSize(sender.GetGroupSizeQuantized());
|
cmd.SetGroupSize(sender.GetGroupSizeQuantized());
|
||||||
cmd.SetCCSequence(sender.GetCCSequence());
|
cmd.SetCCSequence(sender.GetCCSequence());
|
||||||
// Adjust send time for any current hold time
|
// Adjust send time for any current hold time
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue