mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2024-12-22 17:21:12 -05:00
Clear Linux warning in WiresX.cpp
This commit is contained in:
parent
b84d4f3825
commit
93b3548374
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user