widl: There's no need to cast _StubMsg - it's already of the correct type.

This commit is contained in:
Robert Shearman 2006-03-31 12:55:05 +01:00 committed by Alexandre Julliard
parent 506404ba09
commit 837e830a26
1 changed files with 1 additions and 1 deletions

View File

@ -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);