projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[WIDL] Sync with Wine Staging 2.9. CORE-13362
[reactos.git]
/
reactos
/
sdk
/
tools
/
widl
/
write_msft.c
diff --git
a/reactos/sdk/tools/widl/write_msft.c
b/reactos/sdk/tools/widl/write_msft.c
index
fec39bd
..
4ed09ee
100644
(file)
--- a/
reactos/sdk/tools/widl/write_msft.c
+++ b/
reactos/sdk/tools/widl/write_msft.c
@@
-802,6
+802,7
@@
static int encode_type(
if (!alignment) alignment = &scratch;
if (!decoded_size) decoded_size = &scratch;
if (!alignment) alignment = &scratch;
if (!decoded_size) decoded_size = &scratch;
+ *decoded_size = 0;
switch (vt) {
case VT_I1:
switch (vt) {
case VT_I1:
@@
-888,6
+889,8
@@
static int encode_type(
case VT_VARIANT:
*encoded_type = default_type;
case VT_VARIANT:
*encoded_type = default_type;
+ *width = 8 + 2 * pointer_size;
+ *alignment = 8;
break;
case VT_LPSTR:
break;
case VT_LPSTR: