widl: Fix the generation of temporary variables for declared arrays.
These need to include their array part so use var->type instead of var->ref->type.
This commit is contained in:
parent
15d6436295
commit
7f3abe7757
|
@ -3073,7 +3073,8 @@ void declare_stub_args( FILE *file, int indent, const func_t *func )
|
|||
if (!in_attr && !var->type->size_is && !is_string)
|
||||
{
|
||||
print_file(file, indent, "");
|
||||
write_type_decl(file, var->type->ref, "_W%u", i++);
|
||||
write_type_decl(file, var->type->declarray ? var->type : var->type->ref,
|
||||
"_W%u", i++);
|
||||
fprintf(file, ";\n");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue