mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
ci: fix compilation
This commit is contained in:
parent
824790a2bd
commit
accd4d83bf
7 changed files with 115 additions and 11 deletions
|
@ -91,7 +91,7 @@ fn new_image(w int, h int) Image {
|
|||
return Image{
|
||||
width: w
|
||||
height: h
|
||||
data: &Vec(vcalloc(vecsize * w * h))
|
||||
data: unsafe { &Vec(vcalloc(vecsize * w * h)) }
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue