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

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: