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:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user