summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorS. Gilles <sgilles@math.umd.edu>2018-03-20 16:22:10 -0400
committerOri Bernstein <ori@markovcorp.com>2018-03-20 13:33:37 -0700
commit22f8aa508f0313cadc30f941f99fe5f0eb5b155f (patch)
tree4fb3b7f65d75be1a3527049b5b738a49cf16891c
parentb0f3b09fc1b44a8cd0715af65774fe3296b9e016 (diff)
downloadmc-22f8aa508f0313cadc30f941f99fe5f0eb5b155f.tar.gz
Allow intfmt to handle uint64s with {p=0,w=64,b=2}
-rw-r--r--lib/std/fmt.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/fmt.myr b/lib/std/fmt.myr
index 8202ac9..c26d5c4 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