widl: Add missing width and alignment for VARIANT.
Huw Davies
huw at codeweavers.com
Sat Feb 25 04:09:14 CST 2017
Spotted by André Hentschel.
Signed-off-by: Huw Davies <huw at codeweavers.com>
---
tools/widl/write_msft.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/widl/write_msft.c b/tools/widl/write_msft.c
index 7904e45..4b09317 100644
--- a/tools/widl/write_msft.c
+++ b/tools/widl/write_msft.c
@@ -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:
--
2.10.2
More information about the wine-patches
mailing list