Commit 1387075b authored by Chip Davis's avatar Chip Davis Committed by Alexandre Julliard

widl: Cast server functions to void *.

This avoids a warning casting between calling conventions with Clang. Signed-off-by: 's avatarChip Davis <cdavis@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent f3b9a4c8
......@@ -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" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment