diff --git a/vlib/v/gen/tests/1.c b/vlib/v/gen/tests/1.c index 3f65b6cba2..006633a3ea 100644 --- a/vlib/v/gen/tests/1.c +++ b/vlib/v/gen/tests/1.c @@ -101,7 +101,7 @@ i < 10; i++) { bool q = true || false; bool b2 = (*(bool*)array_get(bools, 0)) || true; bool b3 = get_bool() || true; - int f = array_first(nums); + int f = *(int*)array_first(nums); array_int c = array_clone(&nums); string d = tos3("d"); println(string_add(s, d));