summaryrefslogtreecommitdiff
path: root/src/utils.cc
diff options
context:
space:
mode:
authorAlexis Hildebrandt <afh@surryhill.net>2014-12-23 23:45:39 +0100
committerAlexis Hildebrandt <afh@surryhill.net>2014-12-23 23:45:39 +0100
commitf1478851ee3b8581215e5a017a51f3352bb874bf (patch)
treeea10ee0390f72256a7c7270d339b73488d59345a /src/utils.cc
parent5b42031ec1812b9f1b0d8641f44c2b1a76bf6265 (diff)
downloadfork-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.cc')
-rw-r--r--src/utils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.cc b/src/utils.cc
index 741ce79d..7b7c468c 100644
--- a/src/utils.cc
+++ b/src/utils.cc
@@ -574,7 +574,7 @@ std::ostream * _log_stream = &std::cerr;
std::ostringstream _log_buffer;
#if TRACING_ON
-uint8_t _trace_level;
+uint16_t _trace_level;
#endif
static bool logger_has_run = false;