Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com --- dlls/oleaut32/usrmarshal.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/oleaut32/usrmarshal.c b/dlls/oleaut32/usrmarshal.c index da524c8..5986bab 100644 --- a/dlls/oleaut32/usrmarshal.c +++ b/dlls/oleaut32/usrmarshal.c @@ -245,6 +245,8 @@ unsigned int get_type_size(ULONG *pFlags, VARTYPE vt) return sizeof(ULONG); case VT_VARIANT: return sizeof(VARIANT); + case VT_CLSID : + return sizeof(GUID); case VT_UNKNOWN: case VT_DISPATCH: case VT_RECORD:
On Fri, Jul 13, 2018 at 04:39:50AM +0000, Alistair Leslie-Hughes wrote:
Signed-off-by: Alistair Leslie-Hughes leslie_alistair@hotmail.com
dlls/oleaut32/usrmarshal.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/dlls/oleaut32/usrmarshal.c b/dlls/oleaut32/usrmarshal.c index da524c8..5986bab 100644 --- a/dlls/oleaut32/usrmarshal.c +++ b/dlls/oleaut32/usrmarshal.c @@ -245,6 +245,8 @@ unsigned int get_type_size(ULONG *pFlags, VARTYPE vt) return sizeof(ULONG); case VT_VARIANT: return sizeof(VARIANT);
- case VT_CLSID :
case VT_UNKNOWN: case VT_DISPATCH: case VT_RECORD:return sizeof(GUID);
This is strange as the VARIANT union doesn't have a CLSID/GUID element.
Huw.