hnetcfg: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
e5216332c0
commit
8ae0d33bb7
|
@ -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]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue