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:
Huw Davies 2017-02-25 10:09:14 +00:00 committed by Alexandre Julliard
parent 673ef69309
commit 5a06b6b035
1 changed files with 2 additions and 0 deletions

View File

@ -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: