mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
all: byte => u8
This commit is contained in:
parent
b49d873217
commit
d4a0d6f73c
221 changed files with 1365 additions and 1365 deletions
|
@ -174,7 +174,7 @@ fn (data &StrIntpData) process_str_intp_data(mut sb strings.Builder) {
|
|||
}
|
||||
|
||||
// mange pad char, for now only 0 allowed
|
||||
mut pad_ch := byte(` `)
|
||||
mut pad_ch := u8(` `)
|
||||
if fmt_pad_ch > 0 {
|
||||
// pad_ch = fmt_pad_ch
|
||||
pad_ch = `0`
|
||||
|
@ -263,7 +263,7 @@ fn (data &StrIntpData) process_str_intp_data(mut sb strings.Builder) {
|
|||
tmp.free()
|
||||
}
|
||||
if write_minus {
|
||||
sb.write_byte(`-`)
|
||||
sb.write_u8(`-`)
|
||||
bf.len0-- // compensate for the `-` above
|
||||
}
|
||||
if width == 0 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue