mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
builtin: make v_realloc use int parameter instead of u32 (#7080)
This commit is contained in:
@ -766,7 +766,7 @@ pub fn get_raw_stdin() []byte {
|
||||
break
|
||||
}
|
||||
|
||||
buf = v_realloc(buf, u32(offset + block_bytes + (block_bytes-bytes_read)))
|
||||
buf = v_realloc(buf, offset + block_bytes + (block_bytes-bytes_read))
|
||||
}
|
||||
|
||||
C.CloseHandle(h_input)
|
||||
|
Reference in New Issue
Block a user