mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-22 16:25:45 +08:00
Small clean up.
This commit is contained in:
@@ -52,8 +52,8 @@ bool CRSSIInterpolator::load(const std::string& filename)
|
||||
char* p2 = ::strtok(NULL, " \t\r\n");
|
||||
|
||||
if (p1 != NULL && p2 != NULL) {
|
||||
uint16_t raw = (unsigned int)::atoi(p1);
|
||||
int rssi = ::atoi(p2);
|
||||
uint16_t raw = uint16_t(::atoi(p1));
|
||||
int rssi = ::atoi(p2);
|
||||
m_map.insert(std::pair<uint16_t, int>(raw, rssi));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user