Module: wine Branch: master Commit: 9821acf5d2b1b5f8ab7dffba366af66f0bce00b3 URL: http://source.winehq.org/git/wine.git/?a=commit;h=9821acf5d2b1b5f8ab7dffba36...
Author: Alexandre Julliard julliard@winehq.org Date: Thu Jun 14 12:10:45 2007 +0200
widl: Add typecasts for user marshalling routines to avoid compiler warnings.
---
tools/widl/typegen.c | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index 0b115ab..6f12a22 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");