From 1d33fa44f71f0794b695daeea49c4f749faee570 Mon Sep 17 00:00:00 2001
From: Thomas Faber <thfabba@gmx.de>
Date: Mon, 11 Jun 2012 09:35:46 +0200
Subject: 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 fd4e547..bf45ce8 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;
-- 
1.7.10.msysgit.1
