diff --git a/srtcore/group.cpp b/srtcore/group.cpp index a7e74922e..973a87bc8 100644 --- a/srtcore/group.cpp +++ b/srtcore/group.cpp @@ -5466,8 +5466,8 @@ CUDTGroup::gli_t CUDTGroup::linkSelect_window(const CUDTGroup::BalancingLinkStat flight += 2; // prevent having 0 used for equations total_flight += flight; - - linkdata.push_back( (LinkCapableData){li, flight} ); + LinkCapableData lcd = {li, flight}; + linkdata.push_back(lcd); } if (linkdata.empty())