Commit 925a7005 authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

widl: Fix type_memsize to follow aliases so that the correct size is calculated.

parent 4997f184
......@@ -814,7 +814,9 @@ size_t type_memsize(const type_t *t, unsigned int *align)
{
size_t size = 0;
if (t->declarray && is_conformant_array(t))
if (t->kind == TKIND_ALIAS)
size = type_memsize(t->orig, align);
else if (t->declarray && is_conformant_array(t))
{
type_memsize(t->ref, align);
size = 0;
......
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