mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
os: eliminate warning for v -cross -o vc/v.c cmd/v
on linux (part 2, see also 037a3b4
)
This commit is contained in:
parent
037a3b4a00
commit
e96355aca5
1 changed files with 1 additions and 1 deletions
|
@ -527,7 +527,7 @@ pub fn get_raw_line() string {
|
||||||
unsafe {
|
unsafe {
|
||||||
initial_size := 256 * wide_char_size
|
initial_size := 256 * wide_char_size
|
||||||
mut buf := malloc_noscan(initial_size)
|
mut buf := malloc_noscan(initial_size)
|
||||||
defer { buf.free() }
|
defer { unsafe { buf.free() } }
|
||||||
mut capacity := initial_size
|
mut capacity := initial_size
|
||||||
mut offset := 0
|
mut offset := 0
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue