From 7e222cb9504dd133b99566ebd27118b19db5912b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sat, 14 Nov 2015 13:46:50 +0100 Subject: [PATCH] file identification: output JSON number types as 64bit unsigned integers --- src/merge/generic_reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/merge/generic_reader.cpp b/src/merge/generic_reader.cpp index d4853ca7f..30eb36c03 100644 --- a/src/merge/generic_reader.cpp +++ b/src/merge/generic_reader.cpp @@ -320,7 +320,7 @@ generic_reader_c::display_identification_results_as_text() { auto formatter = boost::format{"%1%:%2%"}; for (auto const &pair : info) { - auto value = pair.second.is_number() ? to_string(pair.second.get()) + auto value = pair.second.is_number() ? to_string(pair.second.get()) : pair.second.is_boolean() ? std::string{pair.second.get() ? "1" : "0"} : pair.second.get();