diff options
Diffstat (limited to 'src/main.cc')
-rw-r--r-- | src/main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cc b/src/main.cc index 25a5fc18..6908be3d 100644 --- a/src/main.cc +++ b/src/main.cc @@ -408,7 +408,7 @@ int main(int argc, char * argv[], char * envp[]) #if defined(TRACING_ON) if (i + 1 < argc && std::strcmp(argv[i], "--trace") == 0) { ledger::_log_level = LOG_TRACE; - ledger::_trace_level = std::atoi(argv[i + 1]); + ledger::_trace_level = lexical_cast<int>(argv[i + 1]); i++; } #endif |