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:
Chip Davis 2020-04-08 23:04:04 -05:00 committed by Alexandre Julliard
parent f3b9a4c826
commit 1387075b80
1 changed files with 1 additions and 1 deletions

View File

@ -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" );