Commit 8ae0d33b authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

hnetcfg: Use the ARRAY_SIZE() macro.

parent e5216332
......@@ -157,7 +157,7 @@ void release_typelib(void)
{
unsigned i;
for (i = 0; i < sizeof(typeinfo)/sizeof(*typeinfo); i++)
for (i = 0; i < ARRAY_SIZE(typeinfo); i++)
if (typeinfo[i])
ITypeInfo_Release(typeinfo[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