Signed-off-by: Michael Stefaniuc mstefani@winehq.org --- dlls/oleaut32/typelib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/oleaut32/typelib.c b/dlls/oleaut32/typelib.c index f32bed35f4..dfa8a0995a 100644 --- a/dlls/oleaut32/typelib.c +++ b/dlls/oleaut32/typelib.c @@ -6962,7 +6962,7 @@ DispCallFunc( rcount = 4; argspos += (argspos % 2); } - ntemp = sizeof(*arg) / sizeof(DWORD); + ntemp = ARRAY_SIZE(*arg); while (ntemp > 0) { if (rcount < 4)