mirror of https://github.com/commaai/openpilot.git
loggerd/logger.cc: use std::stoul instead of std::stol (#32133)
old-commit-hash: 99285ef1f2
This commit is contained in:
parent
fc1d2edf81
commit
0147c559c0
|
@ -96,7 +96,7 @@ std::string logger_get_identifier(std::string key) {
|
|||
Params params;
|
||||
uint32_t cnt;
|
||||
try {
|
||||
cnt = std::stol(params.get(key));
|
||||
cnt = std::stoul(params.get(key));
|
||||
} catch (std::exception &e) {
|
||||
cnt = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue