1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

all: byte => u8

This commit is contained in:
Alexander Medvednikov
2022-04-15 14:58:56 +03:00
parent b49d873217
commit d4a0d6f73c
221 changed files with 1365 additions and 1365 deletions

View File

@ -391,7 +391,7 @@ pub fn (u_ Uint128) str() string {
mut n := int(0)
for ; r != 0; r /= 10 {
n++
buf[i - n] += byte(r % 10)
buf[i - n] += u8(r % 10)
}
if q.is_zero() {
return buf[i - n..].bytestr()

View File

@ -329,7 +329,7 @@ pub fn (u_ Uint256) str() string {
mut n := 0
for ; r != 0; r /= 10 {
n++
buf[i - n] += byte(r % 10)
buf[i - n] += u8(r % 10)
}
if q.is_zero() {
return buf[i - n..].bytestr()