We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d87b8c2 commit e3b07d9Copy full SHA for e3b07d9
1 file changed
vlib/v/tests/c_const_u8_test.v
@@ -13,5 +13,5 @@ fn xint(n int) bool {
13
fn test_const() {
14
assert xint(C.EOF) == true // a random libc const is int by default
15
16
- 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
17
}
0 commit comments