diff --git a/vlib/builtin/builtin.c.v b/vlib/builtin/builtin.c.v index 6d61cedaf2..8f3c57cb72 100644 --- a/vlib/builtin/builtin.c.v +++ b/vlib/builtin/builtin.c.v @@ -193,7 +193,7 @@ pub fn malloc(n int) byteptr { $if debug_malloc ? { // Fill in the memory with something != 0, so it is easier to spot // when the calling code wrongly relies on it being zeroed. - C.memset(res, 0x88, n) + unsafe { C.memset(res, 0x88, n) } } return res }