widl: Cast server functions to void *.
This avoids a warning casting between calling conventions with Clang. Signed-off-by: Chip Davis <cdavis@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
f3b9a4c826
commit
1387075b80
|
@ -307,7 +307,7 @@ static void write_routinetable(type_t *iface)
|
|||
{
|
||||
var_t *func = stmt->u.var;
|
||||
if (is_local( func->attrs )) continue;
|
||||
print_server( "(SERVER_ROUTINE)%s%s,\n", prefix_server, get_name(func));
|
||||
print_server( "(void *)%s%s,\n", prefix_server, get_name(func));
|
||||
}
|
||||
indent--;
|
||||
print_server( "};\n\n" );
|
||||
|
|
Loading…
Reference in New Issue