From 2387dd132a44d9fed06536610c875b69bd06075d Mon Sep 17 00:00:00 2001 From: Folkert Date: Sun, 26 Dec 2021 14:13:53 +0100 Subject: [PATCH] fix problem with formatIntBuf --- compiler/builtins/bitcode/src/dec.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/builtins/bitcode/src/dec.zig b/compiler/builtins/bitcode/src/dec.zig index ca24c12641..f1e40bcc85 100644 --- a/compiler/builtins/bitcode/src/dec.zig +++ b/compiler/builtins/bitcode/src/dec.zig @@ -141,7 +141,7 @@ pub const RocDec = extern struct { // Format the backing i128 into an array of digit (ascii) characters (u8s) var digit_bytes_storage: [max_digits + 1]u8 = undefined; - var num_digits = std.fmt.formatIntBuf(digit_bytes_storage[0..], num, 10, false, .{}); + var num_digits = std.fmt.formatIntBuf(digit_bytes_storage[0..], num, 10, .lower, .{}); var digit_bytes: [*]u8 = digit_bytes_storage[0..]; // space where we assemble all the characters that make up the final string