This avoids a warning casting between calling conventions with Clang.
Signed-off-by: Chip Davis cdavis@codeweavers.com --- Supersedes 183002, 183003, and 183009-183011. --- tools/widl/server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/widl/server.c b/tools/widl/server.c index 79dc079fd23..cce880bbf66 100644 --- a/tools/widl/server.c +++ b/tools/widl/server.c @@ -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" );