diff --git a/vlib/v/tests/c_const_u8_test.v b/vlib/v/tests/c_const_u8_test.v index 15f912a500..4fce58501b 100644 --- a/vlib/v/tests/c_const_u8_test.v +++ b/vlib/v/tests/c_const_u8_test.v @@ -13,5 +13,5 @@ fn xint(n int) bool { fn test_const() { assert xint(C.EOF) == true // a random libc const is int by default - assert x16(C.AF_INET) == true // defined in V's net module + assert x16(u16(C.AF_INET)) == true // defined in V's net module }