Eigenstate: myrddin-dev mailing list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Allow intfmt to handle uint64s with {p=0,w=64,b=2}


---
 lib/std/fmt.myr | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/fmt.myr b/lib/std/fmt.myr
index 8202ac94..c26d5c43 100644
--- a/lib/std/fmt.myr
+++ b/lib/std/fmt.myr
@@ -539,7 +539,7 @@ const digitchars = "0123456789abcdef"
 const intfmt = {sb, opts, signed, bits : uint64, nbits
 	var isneg
 	var sval, val
-	var b : byte[32]
+	var b : byte[64]
 	var i, j, npad
 	var base
 
-- 
2.16.2


Follow-Ups:
Re: [PATCH] Allow intfmt to handle uint64s with {p=0,w=64,b=2}Ori Bernstein <ori@xxxxxxxxxxxxxx>