1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

ci: fix interface table generation for vlib/io/os_file_reader_test.v with -cflags "-Werror"

This commit is contained in:
Delyan Angelov 2021-02-16 23:36:44 +02:00
parent 4961d3ea17
commit fb09333a73
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED

View File

@ -6113,7 +6113,7 @@ $staticprefix $interface_name* I_${cctype}_to_Interface_${interface_name}_ptr($c
method_call += '_method_wrapper'
}
if g.pref.build_mode != .build_module {
methods_struct.writeln('\t\t._method_${c_name(method.name)} = $method_call,')
methods_struct.writeln('\t\t._method_${c_name(method.name)} = (void*) $method_call,')
}
}
if g.pref.build_mode != .build_module {