mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
all: handle fixed []u8
This commit is contained in:
parent
1c6f63ac0a
commit
78cb6e2b41
13 changed files with 21 additions and 21 deletions
|
@ -81,7 +81,7 @@ pub fn format_dec_sb(d u64, p BF_param, mut res strings.Builder) {
|
|||
/*
|
||||
// Legacy version
|
||||
// max u64 18446744073709551615 => 20 byte
|
||||
mut buf := [32]byte{}
|
||||
mut buf := [32]u8{}
|
||||
mut i := 20
|
||||
mut d1 := d
|
||||
for i >= (21 - n_char) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue