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

pull/8791/head
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
1 changed files with 1 additions and 1 deletions

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 {