mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix compilation
This commit is contained in:
@ -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)) }
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user