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:45:52 +03:00
parent 7f3b91e688
commit 014c3c97f0
38 changed files with 201 additions and 201 deletions

View File

@ -230,7 +230,7 @@ pub fn cp(src string, dst string) ? {
}
// TODO use defer{} to close files in case of error or return.
// Currently there is a C-Error when building.
mut buf := [1024]byte{}
mut buf := [1024]u8{}
mut count := 0
for {
count = C.read(fp_from, &buf[0], sizeof(buf))