From 837e830a264d6180eb3a577d023548790aba6cb4 Mon Sep 17 00:00:00 2001 From: Robert Shearman Date: Fri, 31 Mar 2006 12:55:05 +0100 Subject: [PATCH] widl: There's no need to cast _StubMsg - it's already of the correct type. --- tools/widl/typegen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/widl/typegen.c b/tools/widl/typegen.c index ed47c049ddd..a8ab9829662 100644 --- a/tools/widl/typegen.c +++ b/tools/widl/typegen.c @@ -1422,7 +1422,7 @@ static void print_phase_function(FILE *file, int indent, const char *type, print_file(file, indent, "Ndr%s%s(\n", type, function); indent++; - print_file(file, indent, "(PMIDL_STUB_MESSAGE)&_StubMsg,\n"); + print_file(file, indent, "&_StubMsg,\n"); print_file(file, indent, "%s%s,\n", (phase == PHASE_UNMARSHAL) ? "(unsigned char **)&" : "(unsigned char *)", varname); -- 2.11.4.GIT