diff options
author | Alexis Hildebrandt <afh@surryhill.net> | 2014-12-23 23:45:39 +0100 |
---|---|---|
committer | Alexis Hildebrandt <afh@surryhill.net> | 2014-12-23 23:45:39 +0100 |
commit | f1478851ee3b8581215e5a017a51f3352bb874bf (patch) | |
tree | ea10ee0390f72256a7c7270d339b73488d59345a /src/utils.h | |
parent | 5b42031ec1812b9f1b0d8641f44c2b1a76bf6265 (diff) | |
download | fork-ledger-f1478851ee3b8581215e5a017a51f3352bb874bf.tar.gz fork-ledger-f1478851ee3b8581215e5a017a51f3352bb874bf.tar.bz2 fork-ledger-f1478851ee3b8581215e5a017a51f3352bb874bf.zip |
Fix crash when using --trace 10 or above
uint8_t is typedef'd to char, thus boost::lexical_cast treats it
as such instead of a number.
Diffstat (limited to 'src/utils.h')
-rw-r--r-- | src/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h index c3dcf562..95c87929 100644 --- a/src/utils.h +++ b/src/utils.h @@ -251,7 +251,7 @@ void logger_func(log_level_t level); #if TRACING_ON -extern uint8_t _trace_level; +extern uint16_t _trace_level; #define SHOW_TRACE(lvl) \ (ledger::_log_level >= ledger::LOG_TRACE && lvl <= ledger::_trace_level) |