Commit 5a06b6b0 authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

widl: Add missing width and alignment for VARIANT.

Spotted by André Hentschel. Signed-off-by: 's avatarHuw Davies <huw@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 673ef693
......@@ -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:
......
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