Commit 837e830a authored by Robert Shearman's avatar Robert Shearman Committed by Alexandre Julliard

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

parent 506404ba
...@@ -1422,7 +1422,7 @@ static void print_phase_function(FILE *file, int indent, const char *type, ...@@ -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); print_file(file, indent, "Ndr%s%s(\n", type, function);
indent++; indent++;
print_file(file, indent, "(PMIDL_STUB_MESSAGE)&_StubMsg,\n"); print_file(file, indent, "&_StubMsg,\n");
print_file(file, indent, "%s%s,\n", print_file(file, indent, "%s%s,\n",
(phase == PHASE_UNMARSHAL) ? "(unsigned char **)&" : "(unsigned char *)", (phase == PHASE_UNMARSHAL) ? "(unsigned char **)&" : "(unsigned char *)",
varname); varname);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment