From 59a5a790c992b4c662fb66510719c20199a131b9 Mon Sep 17 00:00:00 2001 From: Kim Shrier Date: Mon, 1 Apr 2024 05:30:46 -0600 Subject: [PATCH] tests: fix assignment to pointer (failing even with `-cstrict` on more recent clang versions) (#21158) --- vlib/v/tests/c_structs/cstruct_ref_test.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vlib/v/tests/c_structs/cstruct_ref_test.v b/vlib/v/tests/c_structs/cstruct_ref_test.v index a6786e399f..aac49be86b 100644 --- a/vlib/v/tests/c_structs/cstruct_ref_test.v +++ b/vlib/v/tests/c_structs/cstruct_ref_test.v @@ -16,7 +16,7 @@ fn (it C.MyCStruct) wrap() MyWrapper { fn test_main() { dump(C.MyCStruct{ - data: 123 + data: &u8(123) }.wrap()) assert true }