[ox/std] Remove excess char from intToStr return

(synced from 63f627377d)
This commit is contained in:
2026-01-20 01:28:29 -06:00
parent 8719ebcde4
commit a0272a59a6
2 changed files with 8 additions and 8 deletions
+4 -4
View File
@@ -259,16 +259,16 @@ constexpr auto intToStr(Integer v) noexcept {
auto out = 0;
switch (sizeof(Integer)) {
case 1:
out = 4;
out = 3;
break;
case 2:
out = 6;
out = 5;
break;
case 4:
out = 11;
out = 10;
break;
case 8:
out = 22;
out = 21;
break;
}
return out + ox::is_signed_v<Integer>;