Commit 84c39c27 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msscript.ocx: Use the ARRAY_SIZE() macro.

parent 7aef9a9d
......@@ -169,7 +169,7 @@ static void release_typelib(void)
if(!typelib)
return;
for(i=0; i < sizeof(typeinfos)/sizeof(*typeinfos); i++)
for(i = 0; i < ARRAY_SIZE(typeinfos); i++)
if(typeinfos[i])
ITypeInfo_Release(typeinfos[i]);
......
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