Fixes issue 388 (#394)

This commit is contained in:
Daniel Lemire
2019-12-11 08:13:29 -05:00
committed by GitHub
parent 2bd65fa444
commit fc6133b58f
3 changed files with 39 additions and 4 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ bool ParsedJson::print_json(std::ostream &os) const {
memcpy(&string_length, string_buf + payload, sizeof(uint32_t));
print_with_escapes(
(const unsigned char *)(string_buf + payload + sizeof(uint32_t)),
string_length);
os, string_length);
os << '"';
break;
case 'l': // we have a long int