From 7f5714107896a8820f85b21852c4288607ecd7a9 Mon Sep 17 00:00:00 2001 From: Thomas Faber Date: Mon, 11 Jun 2012 09:35:46 +0200 Subject: [PATCH] oleaut32: Fix build with MSVC. --- dlls/oleaut32/typelib2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/oleaut32/typelib2.c b/dlls/oleaut32/typelib2.c index fd4e5472923..bf45ce852a4 100644 --- a/dlls/oleaut32/typelib2.c +++ b/dlls/oleaut32/typelib2.c @@ -1987,7 +1987,7 @@ static HRESULT WINAPI ICreateTypeInfo2_fnAddFuncDesc( if(!insert) return E_OUTOFMEMORY; insert->u.data = heap_alloc(FIELD_OFFSET(MSFT_FuncRecord, HelpContext) + - sizeof(int[(num_defaults?4:3)])*pFuncDesc->cParams); + sizeof(int)*(num_defaults?4:3)*pFuncDesc->cParams); if(!insert->u.data) { heap_free(insert); return E_OUTOFMEMORY; -- 2.11.4.GIT