1
0
mirror of https://github.com/ShaYmez/MMDVM_CM.git synced 2025-06-18 21:22:25 -04:00

Clear Linux warning in WiresX.cpp

This commit is contained in:
Andy CA6JAU 2018-11-05 14:39:27 -03:00
parent b84d4f3825
commit 93b3548374
3 changed files with 3 additions and 3 deletions
YSF2DMR
YSF2NXDN
YSF2P25

@ -933,7 +933,7 @@ static bool refComparison(const CTGReg* r1, const CTGReg* r2)
CTGReg* CWiresX::findById(unsigned int id) CTGReg* CWiresX::findById(unsigned int id)
{ {
for (std::vector<CTGReg*>::const_iterator it = m_currTGList.cbegin(); it != m_currTGList.cend(); ++it) { for (std::vector<CTGReg*>::const_iterator it = m_currTGList.cbegin(); it != m_currTGList.cend(); ++it) {
if (id == atoi((*it)->m_id.c_str())) if (id == (unsigned int)atoi((*it)->m_id.c_str()))
return *it; return *it;
} }

@ -884,7 +884,7 @@ static bool refComparison(const CTGReg* r1, const CTGReg* r2)
CTGReg* CWiresX::findById(unsigned int id) CTGReg* CWiresX::findById(unsigned int id)
{ {
for (std::vector<CTGReg*>::const_iterator it = m_currTGList.cbegin(); it != m_currTGList.cend(); ++it) { for (std::vector<CTGReg*>::const_iterator it = m_currTGList.cbegin(); it != m_currTGList.cend(); ++it) {
if (id == atoi((*it)->m_id.c_str())) if (id == (unsigned int)atoi((*it)->m_id.c_str()))
return *it; return *it;
} }

@ -884,7 +884,7 @@ static bool refComparison(const CTGReg* r1, const CTGReg* r2)
CTGReg* CWiresX::findById(unsigned int id) CTGReg* CWiresX::findById(unsigned int id)
{ {
for (std::vector<CTGReg*>::const_iterator it = m_currTGList.cbegin(); it != m_currTGList.cend(); ++it) { for (std::vector<CTGReg*>::const_iterator it = m_currTGList.cbegin(); it != m_currTGList.cend(); ++it) {
if (id == atoi((*it)->m_id.c_str())) if (id == (unsigned int)atoi((*it)->m_id.c_str()))
return *it; return *it;
} }