From f6c59df75a0afb0a384dc1cc55f3bf57d28009f9 Mon Sep 17 00:00:00 2001 From: Jonah Miller Date: Mon, 25 Nov 2024 09:08:40 -0700 Subject: [PATCH] use 100 instead of 20 for unknown strings --- ports-of-call/portability.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ports-of-call/portability.hpp b/ports-of-call/portability.hpp index ddfc888..8fb8eef 100644 --- a/ports-of-call/portability.hpp +++ b/ports-of-call/portability.hpp @@ -127,7 +127,7 @@ inline std::size_t strlen(Head h, Tail... tail) { } } } else { - i = 20; // some big number to account for things like %.14e + i = 100; // some big number to account for things like %.14e } if constexpr (sizeof...(Tail) > 0) { i += strlen(tail...);