summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2024-01-18 13:27:01 -0800
committerJohn Wiegley <johnw@newartisans.com>2024-01-19 16:19:43 -0800
commit42a2121a9d19112e6f34b612f81f40a8eaf1cf4e (patch)
treee1954ffb5e0971ed4053815877a9de8c8efb2348 /src
parenta4a3cd95ef7906d1ddc76ad0b8c2b7789c18601a (diff)
downloadfork-ledger-42a2121a9d19112e6f34b612f81f40a8eaf1cf4e.tar.gz
fork-ledger-42a2121a9d19112e6f34b612f81f40a8eaf1cf4e.tar.bz2
fork-ledger-42a2121a9d19112e6f34b612f81f40a8eaf1cf4e.zip
Expand the size of an arbitrary safety limit
Diffstat (limited to 'src')
-rw-r--r--src/error.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/error.cc b/src/error.cc
index 7de8a4e2..2055124c 100644
--- a/src/error.cc
+++ b/src/error.cc
@@ -92,7 +92,7 @@ string source_context(const path& file,
return _("<no source context>");
assert(len > 0);
- assert(len < 65536);
+ assert(len < 1048576);
std::ostringstream out;