mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
fix problem with formatIntBuf
This commit is contained in:
parent
88d8dbc5d8
commit
2387dd132a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue