Thomas Faber : oleaut32: Fix build with MSVC.
Module: wine Branch: master Commit: 7f5714107896a8820f85b21852c4288607ecd7a9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=7f5714107896a8820f85b21852... Author: Thomas Faber <thfabba(a)gmx.de> Date: Mon Jun 11 09:35:46 2012 +0200 oleaut32: Fix build with MSVC. --- dlls/oleaut32/typelib2.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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;
participants (1)
-
Alexandre Julliard