# HG changeset patch # User František Kučera # Date 1638210718 -3600 # Node ID d9c68ac8929e126e96eda14fecaac2f81823c25c # Parent 653e3b1541913f79c34ea7cb1962594749766967 use stoll() to allow reading bigger numbers before encoding them as LEB128 integers diff -r 653e3b154191 -r d9c68ac8929e src/types/IntegerDataTypeWriter.h --- a/src/types/IntegerDataTypeWriter.h Sat Nov 27 23:15:16 2021 +0100 +++ b/src/types/IntegerDataTypeWriter.h Mon Nov 29 19:31:58 2021 +0100 @@ -59,7 +59,7 @@ integer_t toValue(const string_t &stringValue) override { // throws „terminate called after throwing an instance of 'std::invalid_argument'“ SIGABRT, core dumped on invalid number - return stol(stringValue); + return stoll(stringValue); } };