widl: Add missing width and alignment for VARIANT.
Spotted by André Hentschel. Signed-off-by: Huw Davies <huw@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
673ef69309
commit
5a06b6b035
|
@ -885,6 +885,8 @@ static int encode_type(
|
|||
|
||||
case VT_VARIANT:
|
||||
*encoded_type = default_type;
|
||||
*width = 8 + 2 * pointer_size;
|
||||
*alignment = 8;
|
||||
break;
|
||||
|
||||
case VT_LPSTR:
|
||||
|
|
Loading…
Reference in New Issue