Use the *right* explicit value, instead of C++11 constant.

This commit is contained in:
Peter D. Barnes, Jr.
2013-05-23 12:39:56 -07:00
parent a76c71b970
commit 01136df80f
9 changed files with 9 additions and 9 deletions

View File

@@ -1106,7 +1106,7 @@ FdBetFfMacScheduler::DoSchedDlTriggerReq (const struct FfMacSchedSapProvider::Sc
if (lcActives == 0)
{
// Set to max value, to avoid divide by 0 below
lcActives = 65536; // UINT16_MAX;
lcActives = 65535; // UINT16_MAX;
}
uint16_t RgbPerRnti = (*itMap).second.size ();
std::map <uint16_t,uint8_t>::iterator itCqi;

View File

@@ -1077,7 +1077,7 @@ FdMtFfMacScheduler::DoSchedDlTriggerReq (const struct FfMacSchedSapProvider::Sch
if (lcActives == 0)
{
// Set to max value, to avoid divide by 0 below
lcActives = 65536; // UINT16_MAX;
lcActives = 65535; // UINT16_MAX;
}
uint16_t RgbPerRnti = (*itMap).second.size ();
std::map <uint16_t,SbMeasResult_s>::iterator itCqi;

View File

@@ -1327,7 +1327,7 @@ FdTbfqFfMacScheduler::DoSchedDlTriggerReq (const struct FfMacSchedSapProvider::S
if (lcActives == 0)
{
// Set to max value, to avoid divide by 0 below
lcActives = 65536; // UINT16_MAX;
lcActives = 65535; // UINT16_MAX;
}
uint16_t RgbPerRnti = (*itMap).second.size ();
std::map <uint16_t,SbMeasResult_s>::iterator itCqi;

View File

@@ -1093,7 +1093,7 @@ PfFfMacScheduler::DoSchedDlTriggerReq (const struct FfMacSchedSapProvider::Sched
if (lcActives == 0)
{
// Set to max value, to avoid divide by 0 below
lcActives = 65536; // UINT16_MAX;
lcActives = 65535; // UINT16_MAX;
}
uint16_t RgbPerRnti = (*itMap).second.size ();
std::map <uint16_t,SbMeasResult_s>::iterator itCqi;

View File

@@ -1392,7 +1392,7 @@ PssFfMacScheduler::DoSchedDlTriggerReq (const struct FfMacSchedSapProvider::Sche
if (lcActives == 0)
{
// Set to max value, to avoid divide by 0 below
lcActives = 65536; // UINT16_MAX;
lcActives = 65535; // UINT16_MAX;
}
uint16_t RgbPerRnti = (*itMap).second.size ();
std::map <uint16_t,SbMeasResult_s>::iterator itCqi;

View File

@@ -1029,7 +1029,7 @@ TdBetFfMacScheduler::DoSchedDlTriggerReq (const struct FfMacSchedSapProvider::Sc
if (lcActives == 0)
{
// Set to max value, to avoid divide by 0 below
lcActives = 65536; // UINT16_MAX;
lcActives = 65535; // UINT16_MAX;
}
uint16_t RgbPerRnti = (*itMap).second.size ();
std::map <uint16_t,uint8_t>::iterator itCqi;

View File

@@ -1056,7 +1056,7 @@ TdMtFfMacScheduler::DoSchedDlTriggerReq (const struct FfMacSchedSapProvider::Sch
if (lcActives == 0)
{
// Set to max value, to avoid divide by 0 below
lcActives = 65536; // UINT16_MAX;
lcActives = 65535; // UINT16_MAX;
}
uint16_t RgbPerRnti = (*itMap).second.size ();
std::map <uint16_t,uint8_t>::iterator itCqi;

View File

@@ -1102,7 +1102,7 @@ TdTbfqFfMacScheduler::DoSchedDlTriggerReq (const struct FfMacSchedSapProvider::S
if (lcActives == 0)
{
// Set to max value, to avoid divide by 0 below
lcActives = 65536; // UINT16_MAX;
lcActives = 65535; // UINT16_MAX;
}
uint16_t RgbPerRnti = (*itMap).second.size ();
std::map <uint16_t,SbMeasResult_s>::iterator itCqi;

View File

@@ -1095,7 +1095,7 @@ TtaFfMacScheduler::DoSchedDlTriggerReq (const struct FfMacSchedSapProvider::Sche
if (lcActives == 0)
{
// Set to max value, to avoid divide by 0 below
lcActives = 65536; // UINT16_MAX;
lcActives = 65535; // UINT16_MAX;
}
uint16_t RgbPerRnti = (*itMap).second.size ();
std::map <uint16_t,SbMeasResult_s>::iterator itCqi;