From 522bb14f18c104547f45002b931385a52ad093d2 Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Mon, 19 Jan 2026 21:00:12 -0600 Subject: [PATCH] [ox/std] Fix intToStr to have room for negatives --- deps/ox/src/ox/std/istring.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deps/ox/src/ox/std/istring.hpp b/deps/ox/src/ox/std/istring.hpp index a21a586c..df609de7 100644 --- a/deps/ox/src/ox/std/istring.hpp +++ b/deps/ox/src/ox/std/istring.hpp @@ -250,16 +250,16 @@ constexpr auto intToStr(Integer v) noexcept { auto out = 0; switch (sizeof(Integer)) { case 1: - out = 3; + out = 4; break; case 2: - out = 5; + out = 6; break; case 4: - out = 10; + out = 11; break; case 8: - out = 21; + out = 22; break; } return out + ox::is_signed_v;