os: fix v_realloc call on windows

pull/5801/head
Alexander Medvednikov 2020-07-11 12:45:22 +02:00
parent 2e275731a3
commit b92ce38593
1 changed files with 1 additions and 1 deletions

View File

@ -791,7 +791,7 @@ pub fn get_raw_stdin() []byte {
break break
} }
buf = v_realloc(buf, offset + block_bytes + (block_bytes-bytes_read)) buf = v_realloc(buf, u32(offset + block_bytes + (block_bytes-bytes_read)))
} }
C.CloseHandle(h_input) C.CloseHandle(h_input)