1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix failing vlib/orm/orm_test.v

This commit is contained in:
Delyan Angelov 2021-10-28 17:33:18 +03:00
parent 4d0f6767b1
commit 475a2f9b43
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -70,7 +70,7 @@ fn new_array_from_c_array(len int, cap int, elm_size int, c_array voidptr) array
cap_ := if cap < len { len } else { cap }
arr := array{
element_size: elm_size
data: unsafe { malloc(cap_ * elm_size) }
data: vcalloc(cap_ * elm_size)
len: len
cap: cap_
}