ci: fix compilation

This commit is contained in:
Delyan Angelov 2021-04-04 20:14:51 +03:00
parent 824790a2bd
commit accd4d83bf
No known key found for this signature in database
GPG key ID: 66886C0F12D595ED
7 changed files with 115 additions and 11 deletions

View file

@ -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)) }
}
}