mirror of
https://github.com/ShaYmez/MMDVM_CM.git
synced 2026-06-12 10:48:44 -04:00
Clear Linux warning in WiresX.cpp
This commit is contained in:
+1
-1
@@ -933,7 +933,7 @@ static bool refComparison(const CTGReg* r1, const CTGReg* r2)
|
||||
CTGReg* CWiresX::findById(unsigned int id)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -884,7 +884,7 @@ static bool refComparison(const CTGReg* r1, const CTGReg* r2)
|
||||
CTGReg* CWiresX::findById(unsigned int id)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -884,7 +884,7 @@ static bool refComparison(const CTGReg* r1, const CTGReg* r2)
|
||||
CTGReg* CWiresX::findById(unsigned int id)
|
||||
{
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user