atoX functions replaced with strtoX implementation.

This commit is contained in:
Roland Jax
2014-04-27 20:40:27 +02:00
parent ec1ce841d0
commit a8c8c3bd1b
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ int CYCData::findData(const std::string& data) const
return -3;
// preapre string for searching command
std::string search(data.substr(2, 8 + atoi(data.substr(8,2).c_str()) * 2));
std::string search(data.substr(2, 8 + strtol(data.substr(8,2).c_str(), NULL, 16) * 2));
std::size_t index;
mapCI_t i = m_cycDB.begin();