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

all: ~500 more byte=>u8

This commit is contained in:
Alexander Medvednikov
2022-04-15 18:25:45 +03:00
parent ae6a25f44e
commit fbb9e65c0f
148 changed files with 544 additions and 494 deletions

View File

@ -70,10 +70,10 @@ struct Picoev {
timeout_secs int
max_headers int
mut:
date &byte
buf &byte
date &u8
buf &u8
idx [1024]int
out &byte
out &u8
}
[inline]
@ -94,7 +94,7 @@ fn close_conn(loop &C.picoev_loop, fd int) {
}
[inline]
fn req_read(fd int, b &byte, max_len int, idx int) int {
fn req_read(fd int, b &u8, max_len int, idx int) int {
unsafe {
return C.read(fd, b + idx, max_len - idx)
}