Commit 7f571410 authored by Thomas Faber's avatar Thomas Faber Committed by Alexandre Julliard

oleaut32: Fix build with MSVC.

parent 44411a3c
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment