From 9821acf5d2b1b5f8ab7dffba366af66f0bce00b3 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 14 Jun 2007 12:10:45 +0200 Subject: [PATCH] widl: Add typecasts for user marshalling routines to avoid compiler warnings. --- tools/widl/typegen.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 0b115ab7949..6f12a22f3b3 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -2530,10 +2530,10 @@ void write_user_quad_list(FILE *file) { const char *sep = &ut->entry == list_tail(&user_type_list) ? "" : ","; print_file(file, 1, "{\n"); - print_file(file, 2, "%s_UserSize,\n", ut->name); - print_file(file, 2, "%s_UserMarshal,\n", ut->name); - print_file(file, 2, "%s_UserUnmarshal,\n", ut->name); - print_file(file, 2, "%s_UserFree\n", ut->name); + print_file(file, 2, "(USER_MARSHAL_SIZING_ROUTINE)%s_UserSize,\n", ut->name); + print_file(file, 2, "(USER_MARSHAL_MARSHALLING_ROUTINE)%s_UserMarshal,\n", ut->name); + print_file(file, 2, "(USER_MARSHAL_UNMARSHALLING_ROUTINE)%s_UserUnmarshal,\n", ut->name); + print_file(file, 2, "(USER_MARSHAL_FREEING_ROUTINE)%s_UserFree\n", ut->name); print_file(file, 1, "}%s\n", sep); } fprintf(file, "};\n\n");