From c18a6aa8fd19668aae2bc5c960d292b0399159a1 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 14 Jun 2002 00:36:42 +0000 Subject: [PATCH] Handle argsize for VT_DATE. --- dlls/oleaut32/tmarshal.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/oleaut32/tmarshal.c b/dlls/oleaut32/tmarshal.c index 3d6b9aa029a..5d32e800528 100644 --- a/dlls/oleaut32/tmarshal.c +++ b/dlls/oleaut32/tmarshal.c @@ -363,6 +363,8 @@ static ICOM_VTABLE(IRpcProxyBuffer) tmproxyvtable = { static int const _argsize(DWORD vt) { switch (vt) { + case VT_DATE: + return sizeof(DATE)/sizeof(DWORD); case VT_VARIANT: return (sizeof(VARIANT)+3)/sizeof(DWORD); default: @@ -373,6 +375,8 @@ _argsize(DWORD vt) { static int _xsize(TYPEDESC *td) { switch (td->vt) { + case VT_DATE: + return sizeof(DATE); case VT_VARIANT: return sizeof(VARIANT)+3; case VT_CARRAY: {