diff options
author | Craig Earls <enderw88@gmail.com> | 2014-12-30 20:48:52 -0800 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2014-12-30 20:48:52 -0800 |
commit | 7cd3a7fc9d6af64846a742bdd2ad07cb6dde0bf9 (patch) | |
tree | 7c569daa1137920ad3cc9ab32d574d24e24d0dc6 /src/global.cc | |
parent | b6cef4bc507712427e9c5e83495ba5104679712d (diff) | |
parent | 8e79b3c7c74081b63f9d8b1e0ec97478f61d4ba8 (diff) | |
download | fork-ledger-7cd3a7fc9d6af64846a742bdd2ad07cb6dde0bf9.tar.gz fork-ledger-7cd3a7fc9d6af64846a742bdd2ad07cb6dde0bf9.tar.bz2 fork-ledger-7cd3a7fc9d6af64846a742bdd2ad07cb6dde0bf9.zip |
Merge commit '8e79b3c7c74081b63f9d8b1e0ec97478f61d4ba8'
Diffstat (limited to 'src/global.cc')
-rw-r--r-- | src/global.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/global.cc b/src/global.cc index a58bba54..602e216c 100644 --- a/src/global.cc +++ b/src/global.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003-2014, John Wiegley. All rights reserved. + * Copyright (c) 2003-2015, John Wiegley. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -514,7 +514,7 @@ void handle_debug_options(int argc, char * argv[]) #if TRACING_ON _log_level = LOG_TRACE; try { - _trace_level = boost::lexical_cast<uint8_t>(argv[i + 1]); + _trace_level = boost::lexical_cast<uint16_t>(argv[i + 1]); } catch (const boost::bad_lexical_cast&) { throw std::logic_error(_("Argument to --trace must be an integer")); |