forked from vieter-v/vieter
fix: replace byte with u8
BREAKING: the V compiler removed the byte type alias in favor of u8.
This commit is contained in:
parent
20707f6af1
commit
7722d5a7e4
4 changed files with 7 additions and 7 deletions
|
|
@ -19,7 +19,7 @@ fn archive_add_entry(archive &C.archive, entry &C.archive_entry, file_path &stri
|
|||
}
|
||||
|
||||
// Write the file to the archive
|
||||
buf := [8192]byte{}
|
||||
buf := [8192]u8{}
|
||||
mut len := C.read(fd, &buf, sizeof(buf))
|
||||
|
||||
for len > 0 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue