atoX functions replaced with strtoX implementation.
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user