diff --git a/vlib/v/checker/tests/voidptr_dereference_err.vv b/vlib/v/checker/tests/voidptr_dereference_err.vv index 0c092d2ec3..63e203a2af 100644 --- a/vlib/v/checker/tests/voidptr_dereference_err.vv +++ b/vlib/v/checker/tests/voidptr_dereference_err.vv @@ -1,5 +1,5 @@ fn main() { - mut a := unsafe { nil } + mut a := unsafe { voidptr(u64(0)) } mut b := 123 a = &b println(*a)